登录
首页 » Process-Thread » 关于多线程的一个程序,主要是说明同步技术在多线程中的应用。...

关于多线程的一个程序,主要是说明同步技术在多线程中的应用。...

于 2022-01-25 发布 文件大小:36.36 kB
0 130
下载积分: 2 下载次数: 1

代码说明:

关于多线程的一个程序,主要是说明同步技术在多线程中的应用。-On a multi-threaded program, mainly that synchronous technology in multi-threaded applications.

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

发表评论

0 个回复

  • 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
  • 一个使用C语言编写的模拟windows进程管理的程序,包括进程的创建,查看,替换,消息通信等等,我自己做的,非常精简...
    一个使用C语言编写的模拟windows进程管理的程序,包括进程的创建,查看,替换,消息通信等等,我自己做的,非常精简-a C language simulation windows process management procedures, including the process of creating, viewing, replacement, news communications, etc., I do, very concise
    2022-01-30 18:23:31下载
    积分:1
  • 本节允许您浏览未经压缩文件中包含的文件…
    This section allows you to browse the files contained within a ZIP file without having to download it first. The file list below shows all of the files those that are in a text format that we recognize the extension for (e.g. source code files) are linked to a page where you can view the contents of the file. -This section allows you to browse the files contained within a ZIP file without having to do wnload it first. The file list below shows all of the files those that are in a text format that we r ecognize the extension for (e.g. source code fi les) are linked to a page where you can view the co ntents of the file.
    2022-01-25 14:39:34下载
    积分:1
  • 进程查杀:对设定的一个系统进程进行查杀,界面简洁。
    进程查杀:对设定的一个系统进程进行查杀,界面简洁。-killing process : the creation of a systematic process for killing, simple interface.
    2022-06-14 21:44:25下载
    积分:1
  • 演示了列举系统所有进程,并且强制结束,希望对大家有帮助...
    演示了列举系统所有进程,并且强制结束,希望对大家有帮助-demonstrated a list of all system processes, and the end of compulsory, and I hope to be helpful
    2022-07-24 08:37:47下载
    积分:1
  • 聊天和支持下载等的客户端,多线程的实现方法,可以处理文件的上载下载更新信息...
    聊天和支持下载等的客户端,多线程的实现方法,可以处理文件的上载下载更新信息-Chat and support for downloading the client, multi-threaded implementations, can handle the file upload to download updates
    2022-04-15 16:20:45下载
    积分:1
  • 用TC编写的一段电梯模拟程序,界面也是TC编写的,简洁美观。主要是用作c语言的线程编程练习。...
    用TC编写的一段电梯模拟程序,界面也是TC编写的,简洁美观。主要是用作c语言的线程编程练习。-TC prepared with a lift of the simulation program, the interface is prepared by the TC, simple beauty. C is mainly used for threaded programming language exercises.
    2022-02-16 10:23:21下载
    积分:1
  • 多线程技术在VB。NET
    Multithreading In VB .NET
    2022-08-22 00:06:04下载
    积分:1
  • 获得系统进程,个人的小程序。
    获得系统进程,个人的小程序。-was systematic process, the individual"s small programs.
    2022-02-10 09:44:54下载
    积分:1
  • JAVA多线程编程
    JAVA多线程编程-multi thread program by java
    2022-03-29 11:02:30下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载