登录
首页 » Process-Thread » 经典进程同步和互斥另类WINDOWS解法.定义信号量机制在WINDOWS下完成哲学家进餐问题....

经典进程同步和互斥另类WINDOWS解法.定义信号量机制在WINDOWS下完成哲学家进餐问题....

于 2022-06-14 发布 文件大小:1.50 kB
0 144
下载积分: 2 下载次数: 1

代码说明:

经典进程同步和互斥另类WINDOWS解法.定义信号量机制在WINDOWS下完成哲学家进餐问题.-classical process synchronization and mutex WINDOWS alternative solution. Volume definition signal mechanism in Windows complete the dining philosophers problem.

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

发表评论

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
  • 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
  • 模拟操作系统里实现读者-写者问题的程序实例。用vc++编写,直接打开工程文件即可调试。...
    模拟操作系统里实现读者-写者问题的程序实例。用vc++编写,直接打开工程文件即可调试。-operating system simulation, achieving readers- who wrote the program examples. Vc with the preparation, direct project documents can be opened debugging.
    2022-04-07 12:12:12下载
    积分:1
  • 不错的数据生成器,MFC版本!有需要的请下载观看
    不错的数据生成器,MFC版本!有需要的请下载观看-good data generator, MFC version! Need to watch the download! !
    2023-04-03 22:10:04下载
    积分:1
  • published in 2005, two of code, code demonstrating the use of Visual C since the...
    刊登在2005年第2期的代码,代码演示了在Visual C++中利用自定义消息实现线程间通讯。-published in 2005, two of code, code demonstrating the use of Visual C since the definition of news to achieve communication between threads.
    2022-01-30 10:08:01下载
    积分:1
  • 执行并等待一个程序结束,并通知父进程的程序
    执行并等待一个程序结束,并通知父进程的程序- Carries out and waited for a procedure ended, and informs the father advancement the procedure
    2022-03-16 11:18:11下载
    积分:1
  • 这是我花了几天十间做的操作系统课程设计进程管理代码
    这是我花了几天十间做的操作系统课程设计进程管理代码-This is what I spent 10 days doing the courses on operating system design process management code
    2022-03-22 22:11:01下载
    积分:1
  • 进程和调度(内核
    进程和调度(kernel-) - 非常好的一篇有关连接和加载的文章, 取之与网, 用之与网, 与你分享!-process and Scheduling (kernel-)- a very good connections and the loading of the article, but it must and network and the network is used, to share with you!
    2023-07-19 07:00:09下载
    积分:1
  • Remote Run Library is a part of the code provides a complete remote (remote here...
    Remote Run Library是一个为部分代码提供完整的远程(这里的远程指不同于本进程的其他进程空间)运行环境(包括在代码中使用隐式API调用、字符串常量、全局/静态变量、异常保护)的工具。它允许你在任意进程(只要你有足够的权限)运行一段代码甚至一个exe,从而可以让两个或多个可执行文件在同一个进程空间运行。-Remote Run Library is a part of the code provides a complete remote (remote here refers to the process is different from the other process space) runtime environment (including the use of code implicit API calls, string constants, global/static variables, abnormal protection) tool. It allows you to the arbitrary process (as long as you have sufficient authority) run a piece of code or exe, which allows two or more executable file in the same process space operations.
    2022-11-10 12:15:04下载
    积分:1
  • 显示当前活动进程及其调用的dll,并杀死指定的进程
    显示当前活动进程及其调用的dll,并杀死指定的进程- Demonstrated the current active advancement and its transfer dll, and kills the advancement which assigns
    2022-02-01 09:41:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载