登录
首页 » Process-Thread » 在多个线程之间安全地共享有限的资源

在多个线程之间安全地共享有限的资源

于 2022-07-03 发布 文件大小:4.28 kB
0 47
下载积分: 2 下载次数: 1

代码说明:

在多个线程之间安全地共享有限的资源-threads between the various security sharing limited resources

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

发表评论

0 个回复

  • simple realization of a systematic process management. Can see the current syste...
    实现简单的系统进程管理。可察看当前系统中正在运行的进程,进程的基本信息。(如:进程大小、线程ID等)可终止某一进程。-simple realization of a systematic process management. Can see the current system running processes, the process of basic information. (Eg : Process size, thread ID, etc.) may terminate a process.
    2022-01-26 07:00:45下载
    积分:1
  • 一个高精度的定时器,很不错哦,希望对大家有用
    一个高精度的定时器,很不错哦,希望对大家有用-a precision timer, oh very good, useful for all. .
    2022-05-07 09:22:45下载
    积分:1
  • 一个VB编写出的进程管理工具,类似与windows的进程消息管理器。还可以,请大家指点....
    一个VB编写出的进程管理工具,类似与windows的进程消息管理器。还可以,请大家指点.-VB prepare a process management tools, and similar windows process information manager. Also, please guidance.
    2022-06-28 16:15:19下载
    积分:1
  • 在WIN2K下直接访问硬件端口VC6实现
    在WIN2K下直接访问硬件端口VC6实现-WIN2K directly in the hardware port visit to achieve VC6
    2022-07-01 18:37:03下载
    积分:1
  • 进程间通讯的四种方式:剪贴板、匿名管道、命名管道和邮槽。并比较分析这几种进程间通信的优点和缺点。
    进程间通讯的四种方式:剪贴板、匿名管道、命名管道和邮槽。并比较分析这几种进程间通信的优点和缺点。-Inter-process communication of four ways: clipboard, anonymous pipes, named pipes and mail slots. And comparative analysis of these types of inter-process communication of the advantages and disadvantages.
    2023-03-08 11:25:03下载
    积分:1
  • use Windows 2000/XP API functions, including the preparation of a two
    使用Windows 2000 / XP的API函数,编写一个包含两个线程的进程,一个线程用于模拟内存分配活动,一个线程用于跟踪第一个线程的内存行为,而且要求两个线程之间通过信号量实现同步。-use Windows 2000/XP API functions, including the preparation of a two-threaded process, a thread used to simulate memory allocation, a thread used to track a thread of memory, but also between two threads through the synchronized signal volume.
    2022-07-27 02:37:11下载
    积分:1
  • 多线程程序,多线程应用程序很容易发生。互斥对象…
    多线程程序的编写,多线程应用中容易出现的问题。互斥对象的讲解,如何采用互斥对象来实现多线程的同步。如何利用命名互斥对象保证应用程序只有一个实例运行。应用多线程编写网络聊天室程序。-multithreaded program, multithreaded applications easily occur. Mutex object on how to use mutex object to the multi-thread synchronization. How to use object named mutex to ensure only one application program running examples. Application multithreaded network chat room preparation procedures.
    2022-01-26 05:26:47下载
    积分: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
  • This is a single
    这是一个单线程的源代码单线程应该是除了主线程外的唯一的一个线程-This is a single-threaded the source code should be the main thread outside the only one thread
    2022-02-16 00:41:57下载
    积分:1
  • 关于多线程的一个程序,主要是说明同步技术在多线程中的应用。...
    关于多线程的一个程序,主要是说明同步技术在多线程中的应用。-On a multi-threaded program, mainly that synchronous technology in multi-threaded applications.
    2022-01-25 15:26:52下载
    积分:1
  • 696522资源总数
  • 104040会员总数
  • 35今日下载