资源列表
computePi
- 通过使用多线程计算PI,可以控制线程数目-use Multi-thread computing PI
MultiThreadCriticalSection
- MultiThreadCriticalSection多线程互斥所临界区-MultiThreadCriticalSectiongap was not know! Enclosed test program code
JAVA-Case
- JAVA的入门级别资料,在代码里演示了从JAVA类的概念到多线程的操作等,是一份很不错的资料。-JAVA entry-level data, in this code from JAVA class concept to multi-threaded operating a very good information.
MultiThreadchat
- 多线程程序的编写,多线程应用中容易出现的问题。互斥对象的讲解,如何采用互斥对象来实现多线程的同步。 如何利用命名互斥对象保证应用程序只有一个实例运行。应用多线程编写网络聊天室程序。 -Multithreaded programs written in easily arise in multi-threaded applications. Mutex object to explain how to use mutex objects to realize multi-threa
Semaphore
- 主、子两个线程之间的同步,要求子线程先执行。在主线程中使用系统调用CreateThread()创建一个子线程。主线程创建子线程后进入阻塞状态,直到子线程运行完毕后唤醒主线程。-The main synchronization between two threads of the child requires the child thread is executed first. In the main thread using the system call CreateThread () to
Mutex
- 首先,在主线程中使用InitializeCriticalSection()初始化临界分区。然后建立两个子线程,在两个子线程中使用全局变量count的前、后分别使用 EnterCriticalSection()进入临界区及LeaveCriticalSection()退出临界区。等两个子线程运行完毕,主线程使用DeleteCriticalSection()删除临界区并撤销线程。-First of all, in the main thread InitializeCriticalSection ()
TXTWriteProcessMFC
- 实现TXT文档的快捷打开与各种应用,利用进程的方式。-TXT files quick to open with a variety of applications, the use of the process.
1
- 用java编写的多线程程序,代码清晰,读者自学就可以明白多线程的实现-Multithreaded programs written in Java, the code is clear, self-study of readers can understand multi-threaded implementation of
os
- 操作系统课设,编程实现模拟操作系统进程调度-Class set of operating system programmed to simulate the operating system process scheduling
Processor-scheduling-algorithm
- 1.设定系统中有五个进程,每一个进程用一个进程控制块表示。 2. 输入每个进程的“优先数”和“要求运行时间”, 3.为了调度方便,将五个进程按给定的优先数从大到小连成就绪队列。用一单元指出队列首进程,用指针指出队列的连接情况。 4. 处理机调度总是选队首进程运行。采用动态优先数算法,进程每运行一次优先数就减“1”,同时将运行时间减“1”。 5.若要求运行时间为零,则将其状态置为“结束”,且退出队列。 6.运行所设计程序,显示或打印逐次被选中进程的进程名以及进程控制块的动态变化
thread-VC
- 这是用vc写的调用多线程的例子,已经测试通过,运行的很好,需要时大家可以下载进行参考-This is written in VC call multi-threaded example, has been tested, a good run, need you can download reference
Classic-C-Sharp-multi-threaded-
- 《C#多线程经典入门教程》,C#语言中的多线程程序设计-Classic Tutorial C# multi-threaded " , multi-threaded programming in C# language
