登录
首页 » Process-Thread » operating procedures contradict the procedure if you are running two or more, an...

operating procedures contradict the procedure if you are running two or more, an...

于 2022-04-15 发布 文件大小:23.02 kB
0 134
下载积分: 2 下载次数: 1

代码说明:

程序的互斥运行 如果你的程序被同时运行两次以上,有可能会造成文件系统冲突而丢失数据,本例程用一个简单的办法避免第二次启动同一个程序。-operating procedures contradict the procedure if you are running two or more, and may cause conflicts and file system data loss, the routines with a simple way to avoid the second started with a procedure.

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

发表评论

0 个回复

  • Vb隐藏进程源代码,在任务管理器中隐藏进程,非常有用的
    Vb隐藏进程源代码,在任务管理器中隐藏进程,非常有用的-Vb source code to hide the process in Task Manager to hide the process, very useful
    2022-08-25 20:46:27下载
    积分:1
  • 读者写者进程管理,自定义读者写者优先关系,完成进程建立,调度!...
    读者写者进程管理,自定义读者写者优先关系,完成进程建立,调度!-Readers to write by process management, custom readers to write the relationship between those who give priority to complete the process of building, scheduling!
    2022-05-25 23:07:58下载
    积分: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
  • 在MFC下面点击菜单响应线程池工作事件,线程池工作是一个写文件内容到c盘。可以设定线程池的大小。...
    在MFC下面点击菜单响应线程池工作事件,线程池工作是一个写文件内容到c盘。可以设定线程池的大小。-In the MFC-click menu below to respond to the work of the event thread pool, thread pool is a written document to the c drive. Can set the thread pool size.
    2022-06-28 19:58:00下载
    积分:1
  • VC++多任务经典源程序。 很适合于初学者。
    VC++多任务经典源程序。 很适合于初学者。-VC++ Source multi-task classic. Very suitable for beginners.
    2022-03-09 12:25:59下载
    积分:1
  • 简单代码讲解同步机制CMutex,这个代码是别人写的,还不错,值得一看...
    简单代码讲解同步机制CMutex,这个代码是别人写的,还不错,值得一看-A simple code on the synchronization mechanism CMutex
    2022-04-17 06:23:41下载
    积分:1
  • 设计是一个复杂的过程
    设计一个有 N个进程并发运行的进程调度程序,进程调度算法 :最高优先数优先的调度算法 。本实验模拟在单处理机环境下处理机的调度,了解处理机调度的过程。-design is a complicated process N-running process scheduler, process scheduling algorithm : the highest priority to a few priority scheduling algorithm. The experimental simulation of the single-processor environment processor scheduling, understanding processor scheduling process.
    2022-02-03 09:51:50下载
    积分:1
  • 一个多线程发送并口控制信号的程序,控制信号的频率达到微秒级...
    一个多线程发送并口控制信号的程序,控制信号的频率达到微秒级-a multithreaded parallel port control signals sent to the procedures, the frequency control signal to achieve microsecond
    2023-03-11 18:30:03下载
    积分:1
  • Windows NT2000下的进程列举
    Windows NT2000下的进程列举-Windows NT2000 listed under the process of
    2022-03-13 15:37:36下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载