资源列表
library
- 多线程 + 信号量(无名信号量)的模拟程序: 阅览室模型:假设阅览室内共有3个座位,阅览室外等待区有5个座位。读者的行为如下:1) 读者到达阅览室时必须先在前台自助登记读者信息,离开时注销。前台每次仅允许一位读者进行登记或注销。2)若读者发现阅览室已满,他可以在阅览室外的等待区等待,3)如果等待的座位也没有了,则放弃等待,离开。 -a simple program about switching among multiple threads
CPlusThreadPool
- C++多线程的实现说明文档,内含代码,看完后秒懂线程池-C++ implementation of multi thread, after reading the second understand
CPPThreadPool
- C++实现的简单线程池,简单易懂,有代码,注释详细,很容易看懂-Simple thread pool, C++ implementation is simple and easy to understand, code, detailed notes, easy to understand
lab2
- 在Windows下实现: • 使用CreateProcess()来创建进程 • 使用WaitForSingleObject()在“mytime”命令和新创建的进程之间同步 • 调用GetSystemTime()来获取时间 -In Windows to achieve: Use CreateProcess () to create a process - the use of WaitForSingle
CThreadPool
- c++线程池,完成基本线程池功能。没有加优先级策略。-c++ thread pool thread pool to complete the basic functions. No increase priority policy.
Processid2windowshandle
- 自定义类,能通过进程名来获取窗口句柄,进程ID,主线程ID-Custom class name through the process to get the window handle, process ID, host thread ID
Cashiers-and-customers
- 收银员与顾客问题(信号量操作) 设计目的:了解信号量机制,了解并掌握进程同步和互斥机制,熟悉信号量的操作函数,利用信号量实现对共享资源的控制。 操作系统是一门工程性很强的课程,它不仅要求学生掌握操作系统的工作原理和理论知识,也要求学生的实际动手能力,以加深对所学习内容的理解,使学生熟练地掌握计算机的操作方法,使用各种软件工具,加强对课程内容的理解。 要求:在某超市里有一个收银员,且同时最多允许有n个顾客购物,我们可以将顾客和收银员看成是两类不同的进程,且工作流程如下图所示。为了利用P
multithread-OCX
- VB多线程控件,测试过还比较稳定,里面还有调用例程-VB multithreaded controls, tested relatively stable.....。
PVSample
- PV信号量的实现,使用信号量来解决进程之间的各种同步问题-Implementation, using semaphores PV semaphore to solve various synchronization between processes
Thread-function
- MFC多线程,线程函数写入类中,并发送消息,适合自定义消息的发送以及用消息传递数据-MFC multi thread, thread function into the class, and send messages, suitable for custom message sending and message delivery data
uav-auto-control
- 数学建模论文_无人机自主飞行航迹规划问题,这篇文章还不错,内容比较全面,可以拿来参考-Mathematical modeling of paper _ UAV autonomous flight path planning problem, the article is also good, the content is more comprehensive, can be used to reference
semaphore_ex
- windows系统平台,多线程信号量(semaphore)示例源码。-semaphore sample
