登录
首页 » Process-Thread » 对文件读写进行共享加锁的一个学习例子

对文件读写进行共享加锁的一个学习例子

于 2022-01-22 发布 文件大小:55.08 kB
0 140
下载积分: 2 下载次数: 1

代码说明:

对文件读写进行共享加锁的一个学习例子- Read-write carries on a study example to the document which sharing locks

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • GPS数据采集程序.rar
    GPS数据采集程序.rar-GPS data collection procedures. Rar
    2022-07-26 03:48:41下载
    积分:1
  • multithreaded copy files, it can become 2.0 USB1.1, an eye
    多线程的文件复制,可以把usb1.1变成2.0,值得一看-multithreaded copy files, it can become 2.0 USB1.1, an eye-catcher
    2022-01-26 00:05:52下载
    积分:1
  • incident kernel object, the key code of (critical) explanations, and the multi
    事件内核对象、关键代码段(临界区)的讲解,以及在多线程同步中的应用。在Windows下编写基于消息的网络应用程序,掌握阻塞与非阻塞网络程序的编写,理解在Windows平台下,采用异步选择机制可以提高网络应用程序的性能。-incident kernel object, the key code of (critical) explanations, and the multi-thread synchronization application. In the preparation of Windows-based news network applications, master obstruction and nonobstructive network program, understanding of the Windows platform, using asynchronous selection mechanism can improve network application performance.
    2022-11-24 04:00:03下载
    积分:1
  • is a multithreaded example, the main demonstration supporting idle threads and t...
    是一个多线程的例子,演示主线程和空闲辅助线程的使用方法-is a multithreaded example, the main demonstration supporting idle threads and the use of threads
    2023-05-12 18:30:04下载
    积分:1
  • 一个不错的通过设置任意多个事件(Event)来激发多个任务函数的线程类。...
    一个不错的通过设置任意多个事件(Event)来激发多个任务函数的线程类。- Is good (Event) stimulates many duties function through establishment wilfully many events the line regulation class.
    2022-02-05 23:11:15下载
    积分:1
  • 在一个程序中,进行中开多个线程,实现多线程编程
    在一个程序中,进行中开多个线程,实现多线程编程-In a process, carried out a number of threads in the open, multi-threaded programming
    2023-05-31 01:05:04下载
    积分:1
  • 实现读写者,更好的人机交互界面。
    实现读者谁写,更好的交互用户界面。
    2022-10-17 02:35:03下载
    积分:1
  • 基于三级反馈队列调度算法的UNIX进程管理程序模拟
    基于三级反馈队列调度算法的UNIX进程管理程序模拟-Feedback queue scheduling algorithm based on three of the UNIX process management program to simulate
    2023-06-02 13:15:02下载
    积分:1
  • 使用PSAPI实现工艺信息显示系统
    利用psapi实现的显示系统进程信息-use psapi achieve process information display system
    2022-09-09 14:15:03下载
    积分:1
  • program VirtualMemory {$APPTYPE CONSOLE} uses SysUtils, Windows const PageSize =...
    program VirtualMemory {$APPTYPE CONSOLE} uses SysUtils, Windows const PageSize = 4096 //定义页面大小 var VmAddress, CommitAddress: Pointer //存放虚拟内存基址 Text: Pchar begin //保留二页虚拟内存 VmAddress := VirtualAlloc(nil, PageSize * 2, MEM_RESERVE, PAGE_READWRITE) if not Assigned(VmAddress) then begin WriteLn( 保留虚拟内存失败! ) ExitProcess(0) end else WriteLn(Format( 保留虚拟内存成功, 基址为:[%8.8x]! , [Longint(VmAddress)])) //提交第二页虚拟内存 CommitAddress := Pointer(Longint(VmAddress) + PageSize) CommitAddress := VirtualAlloc(CommitAddress, PageSize, MEM_COMMIT, PAGE_READWRITE) if not Assigne-program VirtualMemory ($ APPTYPE CONSOLE) uses SysUtils, Windows const PageSize = 4096// definition pages size var VmAddress, CommitAddress : Pointer// virtual memory-based storage site Text : Pchar begin// reservations two virtual memory VmAddress : = VirtualAlloc (nil. PageSize* 2, MEM_RESERVE, PAGE_READWRITE) if not Assigned (VmAddress) then begin WriteLn (reservations virtual memory failure!) ExitProcess (0) end else WriteLn (Format
    2022-10-06 15:35:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载