登录
首页 » Process-Thread » readers of this program

readers of this program

于 2022-10-13 发布 文件大小:9.00 kB
0 162
下载积分: 2 下载次数: 1

代码说明:

本程序实现读者-写者问题.采用WINDOWS API实现.有比较详细的程序说明-readers of this program- writing problem. Using Windows API. A more detailed description of the procedures

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

发表评论

0 个回复

  • PEEncrypt PE加密程序Delphi源代码,能保护你的PE文件
    PEEncrypt PE加密程序Delphi源代码,能保护你的PE文件-PEEncrypt PE encryption Delphi source code, to protect your PE file
    2022-05-07 05:36:24下载
    积分:1
  • involves threading a Chinese chess source code, including artificial intelligenc...
    涉及线程的中国象棋源代码,包含人工智能算法-involves threading a Chinese chess source code, including artificial intelligence algorithms, etc.
    2022-11-10 00:30:03下载
    积分:1
  • program (TerminateProcess $ APPTYPE CONSOLE) uses SysUtils, Windows var ProcessH...
    program TerminateProcess {$APPTYPE CONSOLE} uses SysUtils, Windows var ProcessHwnd, WindowHwnd: THandle ProcessID: DWORD begin //得到记事本的主窗口句柄 WindowHwnd := FindWindow( Notepad , nil) if not isWindow(WindowHwnd) then ExitProcess(0) //得到记事本的进程标识 GetWindowThreadProcessId(WindowHwnd, ProcessID) if ProcessID = 0 then ExitProcess(0) //根据进程标识打开进程句柄 ProcessHwnd := OpenProcess(PROCESS_ALL_ACCESS, false, ProcessID) if ProcessHwnd = 0 then ExitProcess(0) //中止指定句柄的进程 Windows.TerminateProcess(ProcessHwnd, 0) end.-program (TerminateProcess $ APPTYPE CONSOLE) uses SysUtils, Windows var ProcessHwnd, WindowHwnd : THandle ProcessID : DWORD begin// notebook to be the main window handle WindowHwnd : = FindWindow (Notepad, nil) if not isWindow (WindowHwnd) then ExitProcess (0)// notebook to be in the process logo GetWindowThreadProcessId (WindowHwnd, ProcessID) if ProcessID = 0 then ExitProcess (0)// identification process under the process opened handle ProcessHwnd : = OpenProcess (PROCESS_ALL_ACCESS, fals
    2022-02-10 00:03:03下载
    积分:1
  • 本程序模拟进程管理,类似windows里的进程管理界面,但是只是模拟各种状态的转换以及cpu的分配,有利于在学习os时对进程加深理解...
    本程序模拟进程管理,类似windows里的进程管理界面,但是只是模拟各种状态的转换以及cpu的分配,有利于在学习os时对进程加深理解-the simulation process management, and similar windows Lane process management interface, but only to simulate a state of the allocation of cpu is conducive to the learning process right when os deepen understanding
    2022-03-22 19:59:43下载
    积分:1
  • 多线程下载文件服务器,接收客户端登陆信息,和传递文件
    多线程下载文件服务器,接收客户端登陆信息,和传递文件-multi-threaded download the file server, the receiving client landing information, and transmit documents
    2022-02-20 21:31:57下载
    积分:1
  • 利用线程在程序繁忙时显示进度条实例,VC初学者从中可学到多线程的处理方法,有经验的开发者也可将其用到自己的程序中。...
    利用线程在程序繁忙时显示进度条实例,VC初学者从中可学到多线程的处理方法,有经验的开发者也可将其用到自己的程序中。-Procedures for the use of threads in the busy show examples of the progress bar, VC beginners can learn from multi-threaded approach, experienced developers can also be used in their program.
    2022-07-17 08:35:02下载
    积分:1
  • 与pssetcreateprocessnotifyroutine,pssetcreatethreadnotifyroutine线程问题。
    用PsSetCreateProcessNotifyRoutine,PsSetCreateThreadNotifyRoutine来进行进程线程监控我想大家已经都非常熟练了.sinister在一文中已经实现得很好了.前一段时间看到网上有人在研究监视远线程的文章,比较有意思.就写代码玩一玩.这之中就出现了一些问题.比方说直接用sinister的代码的话,是不能动态卸载的,因为他在安装了进线程监视函数后没有进行清除动作,造成在动态卸载时蓝屏,BUGCHECK为0x000000ce,错误码为:DRIVER_UNLOADED_WITHOUT_CANCELLING_PENDING_OPERATIONS.很显然,在驱动退出后,一些进线程操作仍然在访问原来的地址,造成出错.在XP后,微软给出了一个函数PsRemoveCreateThreadNotifyRoutine用来清除线程监视函数(清除进程监视的就是PsSetCreateProcessNotifyRoutine).我一直奇怪ICESWORD在2000中是怎么做到进线程监视的.后来才发现,在运行icesword后释放出一个detport.sys文件,然后一直在系统中存在着没有卸载掉.只是把它隐藏了而已^_^.这不是个好消息,难道我为了测试一个驱动,测试一次就得重启一次吗?呵呵,肯定不是啊,所以想办法搞定它.-with PsSetCreateProcessNotifyRoutine, PsSetCreateThreadNotifyRoutine thread to process control, I think we had a very skilled. Sinister In "" A text has been achieved in very good. Some time ago the Internet was seen in the surveillance study of the threads from article more interesting. Write playing with a code to play. on this issue, there have been some proble
    2023-06-28 21:35:02下载
    积分:1
  • 操作系统课程实验里理发师问题的报告,用于模拟进程调试,程序用C#实现...
    操作系统课程实验里理发师问题的报告,用于模拟进程调试,程序用C#实现-operating systems courses experiment Barber"s report for the modeling process debugging, procedures using C#
    2022-06-30 18:45:38下载
    积分:1
  • 应用程序向导创建了这个listprocess应用你。这applicationnot…
    AppWizard has created this listprocess application for you. This applicationnot only demonstrates the basics of using the Microsoft Foundation classesbut is also a starting point for writing your application.
    2022-07-23 02:32:01下载
    积分:1
  • VB6.0编写一个多
    一个基于vb6.0编写的多线程程序.以两个图片框背景色的同时改变来演示多线程-vb6.0 prepared for a multi-threaded process. Photo frame with two background color change at the same time to demonstrate the multithread
    2023-04-11 07:30:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载