搜索资源列表
WinAppRunOnly
- C#通过创建互斥CreateMutex,使程序只能够运行一个-Through creating mutex CreateMutex, C# makes program only run a time
mutex
- mutex processing for csharp
2009103015231441894
- 10个VC++多线程操作实例源代码,内容涉及如何安全终止线程、如何创建UI线程、如何创建Worker线程、如何等待线程结束、如何挂起和恢复线程、如何获得线程的退出码、如何使用互斥量、如何使用临界区、如何使用信号量等内容,入门者更应该看一看,多线程的使用很广泛,可以提高程序效率。 -10 VC++ source code examples of multi-threaded operation, which relates to the safe termination of the thre
C_multi_threaded_mutex
- C#多线程互斥,两个线程交替工作C # multi-threaded mutex, two threads alternate work-C# multi-threaded mutex, two threads alternate work
ThreadTest
- 測試lock, monitor, mutex, semaphore等執行緒用法-test use of lock, monitor, mutex, and semaphore in threads
RunInstance
- 本程序演示如何让程序只运行一次实例。两种实现方法:方法一是利用Process类判断进程;方法二是利用Mutex类。-This program demonstrates how to make the program run only one instance. Two implementation methods: Method One is the use Process class to determine the process method two is the use of Mute
product-consumer
- 一个简单的实现生产者——消费者同步的小程序,可以很好的互斥实现-A simple implementation of the producer- consumer synchronization process mutex to achieve good
deleteMutex
- Visual Studio C# project for deleting Windows mutex object .
shiyan2
- 哲学家进餐问题 #include<stdio.h> #include<semaphore.h> #include<pthread.h> //宏定义信号量个数为5,宏定义0表示思考,宏定义1表示饿,宏定义2表示吃,宏定义(ph_num+4) N表示左,宏定义(ph_num+1) N表示右 #define N 5 #define THINKING 0 #define HUNGRY 1 #define EATING 2 #
ReaderWriterLoc
- 使用ReaderWriterLoc锁开发的两个方法互斥执行-Use ReaderWriterLock mutex lock developed two methods to perform
