资源列表
SimpleIPC
- 进程间通信DEMO fifo filemapping-IPC DEMO fifo filemapping...
BoostThreadpool
- 使用boost开发的线程池,使用方便,接口简单,可设置线程数目等-boost thread pool
readerAndwriter
- 读者与写者问题的解决(包括读者优先与写者优先)-The solution to the reader and the writer (including the reader first and the priority)
2
- 设计并实现Unix的“time”命令。“mytime”命令通过命令行参数接受要运行的程序,创建一个独立的进程来运行该程序,并记录程序运行的时间。 在Windows下实现: • 使用CreateProcess()来创建进程 • 使用WaitForSingleObject()在“mytime”命令和新创建的进程之间同步 • 调用GetSystemTime()来获取时间 在Linux下实现: • 使用fork()/execv()来
TP_barkat
- package for data set FSN used for face recognition, used for classification
process-Killer
- VB强制*系统进程,源码,已测试,欢迎下载测试-process killer
WndProc
- 线程实例,通过消息来传递信息,线程安全简单,新手入门可以参考,可以运行,-Thread instance, beginners can refer to, you can run,
Producers-and-consumers
- 生产者与消费者 设计要求:设计一程序,由一个进程创建三个子进程,三个子进程一个是生产者进程,两个是消费者进程,父子进程都使用父进程创建的共享存储区进行通信,由生产者进程将一个数组中的十个数值发送到由5个缓冲区组成的共享内存中,两个消费者进程轮流接收并输出这十个数值,同时将两个消费者进程读出的数值进行累加求各和。-Producers and consumers Design requirements: to design a program that creates three sub-p
exp2RW
- 创建一个控制台进程。此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件(后面有介绍)的要求进行读写操作。用信号量机制分别实现读者优先和写者优先的读者-写者问题。 读者-写者问题的读写操作限制(包括读者优先和写者优先): 1)写-写互斥,即不能有两个写者同时进行写操作。 2)读-写互斥,即不能同时有一个线程在读,而另一个线程在写。 3)读-读允许,即可以有一个或多个读者在读。 读者优先的附加限制:如果一个读者申请进行读操作时已有另一个读者
CriticalSection
- 使用关键代码段的例子,对学习使用关键代码段是很好的例子,这些都是很好的例子源码。-these are the demos of critical section,to learn how tos use critical section which are good useful,and they are very useful source codes.
cs
- named pipe and channel sample
SharedStruct
- 最简单的实现共享内存的调用方法,主函数负责声明及给共享内存赋值,共享内存控制文件CSharedStruct.h可以直接沿用到任意工程。移植方便。-The simplest way to achieve shared memory, the main function is responsible for the statement and shared memory assignment, shared memory control file CSharedStruct.h can be dir
