资源列表
[进程与线程] g20091230154427
说明:vb多线程,有时稳定,有时不稳定,cpu占用有点高。-vb multi-threaded, sometimes stable and sometimes unstable<lys> 在 2025-06-07 上传 | 大小:4kb | 下载:0
[进程与线程] coordinate_process_my
说明:创建两个子进程,父进程从屏幕读取两个数字,通过管道传给两个子进程,子进程分别算出加和与乘积再传回父进程。-Create two child processes, the parent process read two numbers from the screen, then passed to child processes through pipes, child processes calculate the sum and the product, then transmit back<李明> 在 2025-06-07 上传 | 大小:14kb | 下载:0
[进程与线程] MultiThreadCriticalSection
说明:MultiThreadCriticalSection多线程互斥所临界区-MultiThreadCriticalSectiongap was not know! Enclosed test program code<> 在 2025-06-07 上传 | 大小:26kb | 下载:0
[进程与线程] JAVA-Case
说明:JAVA的入门级别资料,在代码里演示了从JAVA类的概念到多线程的操作等,是一份很不错的资料。-JAVA entry-level data, in this code from JAVA class concept to multi-threaded operating a very good information.<Huang Huang-q> 在 2025-06-07 上传 | 大小:13kb | 下载:0
[进程与线程] MultiThreadchat
说明:多线程程序的编写,多线程应用中容易出现的问题。互斥对象的讲解,如何采用互斥对象来实现多线程的同步。 如何利用命名互斥对象保证应用程序只有一个实例运行。应用多线程编写网络聊天室程序。 -Multithreaded programs written in easily arise in multi-threaded applications. Mutex object to explain how to use mutex objects to realize multi-threa<caopei> 在 2025-06-07 上传 | 大小:31kb | 下载:0
[进程与线程] ThreadCreate
说明:使用系统调用CreateThread()创建一个子线程,并在线程中显示:Thread is Running!。为了能让用户清楚地看到线程的运行情况,使用Sleep()使线程挂起5秒,之后使用ExitThread()撤销进程。-System call CreateThread () to create a child thread, the thread: Thread is the Running! . In order to allow users to clearly see the thr<slp> 在 2025-06-07 上传 | 大小:926kb | 下载:0
[进程与线程] 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<slp> 在 2025-06-07 上传 | 大小:930kb | 下载:0
[进程与线程] Mutex
说明:首先,在主线程中使用InitializeCriticalSection()初始化临界分区。然后建立两个子线程,在两个子线程中使用全局变量count的前、后分别使用 EnterCriticalSection()进入临界区及LeaveCriticalSection()退出临界区。等两个子线程运行完毕,主线程使用DeleteCriticalSection()删除临界区并撤销线程。-First of all, in the main thread InitializeCriticalSection ()<slp> 在 2025-06-07 上传 | 大小:944kb | 下载:0
[进程与线程] TXTWriteProcessMFC
说明:实现TXT文档的快捷打开与各种应用,利用进程的方式。-TXT files quick to open with a variety of applications, the use of the process.<JinHaoRan> 在 2025-06-07 上传 | 大小:4.4mb | 下载:0