-
一个基于父进程和子进程之间用匿名管道进行进程通讯的实例,附带了可执行文件以及全部源码。非常好的了解匿名管道机制的程序。...
一个基于父进程和子进程之间用匿名管道进行进程通讯的实例,附带了可执行文件以及全部源码。非常好的了解匿名管道机制的程序。-One based on the parent process and child processes to process communication with the anonymous pipe instance comes with an executable file and all source code. A very good understanding of the anonymous pipe mechanism.
- 2022-03-03 18:50:32下载
- 积分:1
-
使用 STL 做的windows 下的线程池,半同步/半异步模型,当线程没有使用时被suspend。...
使用 STL 做的windows 下的线程池,半同步/半异步模型,当线程没有使用时被suspend。-STL use under windows to do the thread pool, semi-synchronous/semi-asynchronous model, when the thread was not using suspend.
- 2022-02-02 01:37:18下载
- 积分:1
-
成功 关于线程和进程的程序
成功 关于线程和进程的程序-success on the threads of procedures and processes
- 2022-02-20 06:09:01下载
- 积分:1
-
一个简单地多线程例子
一个简单地多线程例子-a simple example of multi thread
- 2022-05-29 23:08:38下载
- 积分:1
-
创建、管理线程池的源代码
创建、管理线程池的源代码- Foundation, management line Cheng Chi source code
- 2022-02-07 14:10:08下载
- 积分:1
-
在实际问题中,我们需要在VB中得到更精确的时间事件触发,timer控件的精度只达到30ms,该程序应用timeSetEvent多媒体函数实现1ms的精确事件触发...
在实际问题中,我们需要在VB中得到更精确的时间事件触发,timer控件的精度只达到30ms,该程序应用timeSetEvent多媒体函数实现1ms的精确事件触发。-on practical issues, we need to be in VB more precise time trigger events, The timer control precision is only 30 ms. Application procedures for the multimedia function timeSetEvent ms achieve a precise trigger events.
- 2023-06-10 01:00:03下载
- 积分:1
-
这是个典型的生产者与消费者问题,用的是PV操作实现的程序!
这是个典型的生产者与消费者问题,用的是PV操作实现的程序!-This is a typical problem of producers and consumers, using a PV operating procedures to achieve!
- 2022-02-20 05:39:47下载
- 积分:1
-
readers to write source code problem. I included in the Notes. Not joined the pr...
读者写者问题源码.包含我的注释.
没有加入工程文件.
只有一个R&W.cpp.在vc++6.0下编译成功.
在Windows 2000 环境下,创建一个包含n 个线程的控制台进程。用这n 个线程来表示n 个读者或写者。每个线程按相应测试数据文件的要求,进行读写操作。请用信号量机制实现读者-写者问题(读者优先)。
读者-写者问题的读写操作限制:
1)写-写互斥;
2)读-写互斥;
3)读-读允许;
读者优先的附加限制:如果一个读者申请进行读操作时已有另一读者正在进行读操作,则该读者可直接开始读操作。
运行结果显示要求:要求在每个线程创建、发出读写操作申请、开始读写操作和结束读写操作时分别显示一行提示信息,以确信所有处理都遵守相应的读写操作限制。
下面是一个测试数据文件的例子:
1 R 3 5 2 W 4 5 3 R 5 2 4 R 6 5 5W 5 3
-readers to write source code problem. I included in the Notes. Not joined the project documents. Only one R
- 2023-05-26 02:50:03下载
- 积分:1
-
beginer线程程序实例
Thread program example for beginer
- 2022-02-02 16:21:09下载
- 积分:1
-
一个保护多线程应用中共享资源的例子。作者: Xiangyang Liu
一个保护多线程应用中共享资源的例子。作者: Xiangyang Liu -protect a multi-threaded application resource-sharing example. Author : Liu Xiangyang
- 2022-02-24 10:06:40下载
- 积分:1