搜索资源列表
vc_jiqiaoshili_part4
- Visual.C++程序设计技巧与实例--配套光盘 第4章 进程和线程 本章共有8个实例: 1. Process创建和终止进程 2. WorkerThread创建工作者线程 3. UIThread用户界面线程示例 4. Event使用事件对象来实现线程的同步 5. Thread使用临界区对象来实现线程的同步 6. Mutex使用互斥量对象来实现不同进程间的线程同步 7. Semaphore使用信号量对象实现线程的同步 8. MutiThread多线程任务调
threadinWin32
- 在编程过程中产生线程作了全面的分析,分析CriticalSection Mutex Semaphore Event在线程中的应用时各自优缺点作详细解说
thread
- 线程锁.Windows系统是多任务操作系统,系统内核为我们提供了 事件(Event)、Mutex、信号灯(semaphore)和计时器4种对象来控制线程间的同步。 在C++Builder中,为我们提供了用于创建Event的TEvent对象供我们使用。-Thread lock. Windows system is a multi-tasking operating system kernel to provide us with the event (Event), Mutex, sema
producer-consumer-problem
- Introduction In this project, we will design a programming solution to the bounded-buffer problem using the producer and consumer processes . The solution uses three semaphores: empty and full, which count the number of empty and full slots
Access
- 在Windows2000环境下,创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件(后面介绍)的要求进行读写操作。用信号量机制分别实现读者优先和写者优先问题。 读者-写者问题的读写操作限制(包括读者优先和写者优先) 1) 写-写互斥:不能有两个写者同时进行写操作 2) 读-写互斥:不能同时有一个线程在读,而另一个线程在写。 3) 读-读允许:可以有一个或多个读者在读。 -In Windows2000 environment,
cangkuguanlisheji
- 读者与写者的实现,是n个线程之间的信号量的互斥问题 -The reader and the realization of writing is the thread between the n-the Mutex Semaphore problem
mutex
- uc/OS-ii互斥信号量的处理,大家好好研究啦-uc/OS-ii Mutex Semaphore handling of everyone you carefully study
SemaDemo
- 英国帝国理工学院电脑系多线程课程教学材料之四 ---- 用Semaphores互斥访问-The program uses a semaphore to ensure that it is not possible for threads to enter their critical sections at the same time. The critical section is represented by a light blue (cyan) colour. To execute in
mune
- 线程同步机制。 互斥器的功能和临界区域很相似。区别是:Mutex所花费的时间比Critical Section多的多,但是Mutex是核心对象(Event、Semaphore也是),可以跨进程使用,而且等待一个被锁住的Mutex可以设定TIMEOUT,不会像Critical Section那样无法得知临界区域的情况,而一直死等。-Thread synchronization mechanism. Mutex' s function and the critical region is
thrd-win32
- Win32 现成创建,包括Win32 MUTEX 锁和WIN 32 SEMAPHORE 信号灯。-Windows 32 thread create.
test
- 为体现内核的优先级天花板思想的策略,设计三个处于不同优先级的任务。在每个任务中,首先申请互斥信号量,延迟200TICKS后释放互斥信号量。通过任务的运行流程体会优先级天花板思想。-In order to reflect the priority of the kernel ceiling thinking of strategy, design three tasks at different priorities. In each task, the first of applications
Semaphores
- Its is the linux/unix system application programming ....data resource management by semaphore /mutex
Muti-thread-win32
- 用C语言撰写的多线程win32程序,运用了mutex,semaphore和event来同步多个线程-Written in C language with multi-threaded win32 program, using a mutex, semaphore and event to synchronize multiple threads
MUTEX
- 进程与线程中的信号量编程,有关Mutex方面的源代码-Process and thread semaphore programming, the Mutex' s source code
ThreadTest
- 測試lock, monitor, mutex, semaphore等執行緒用法-test use of lock, monitor, mutex, and semaphore in threads
Mutex.tar
- Mutex封装类,对信号量的封装,简单易用,带测试代码-Mutex wrapper class, semaphore package, easy to use, with the test code
pthreadcc
- For those wishing to develop multi-threaded applications in a C++ class oriented environment. This library allows creation of threads as classes as well as access to multi-threaded programming tools as class abstractions. Even if the basic prog
dxc
- 处理多线程问题,具体是处理生产者与消费者的问题,有关学习互斥量信号量的简单知识-Deal with multi-threading issues, in particular the problem of treatment of producers and consumers, the simple knowledge about learning mutex semaphore
MY-uCOS3-Mutex
- UCOS 信号量测试程序.本程序经本人亲自测试,绝对不会有问题,非常适合初学者参考-UCOS semaphore test program. This program through test in person, never has a problem, very suitable for beginners reference
cmp_nullptr
- Create the mutex semaphore, with initial value 1 Source Code for Embedded Linux.