搜索资源列表
pthread
- linux下的多线程的创建及信号同步,信号量,互斥量-under linux to create multi-threaded and signal synchronization, semaphores, mutex volume
GenericTemplateMSQ.tar
- Generic template class library for message queue implementation, uses pthread mutex.
thread.tar
- This program is written to explain pthread creation and destroy and its function. How to handle mutex and blocking etc-This program is written to explain pthread creation and destroy and its function. How to handle mutex and blocking etc..
pthread
- 基于ARM9的Linux多线程应用程序。生产者写入缓冲区和消费者从缓冲区读数的具体流程,生产者首先获得互斥锁,并且判断写指针+1后是否等于读指针,如果相等则进入等待状态,等候条件变量notfull;如果不等则向缓冲区中写入一个整数,并且设置条件变量为notempty,最后释放互斥锁。消费者线程与生产者线程类似。-ARM9-Linux-based multi-threaded applications. Producers and consumers into a buffer from the
pthread
- 互斥量的简单应用,使用互斥量是实现多线程程序中的同步访问的另一种手段 -Mutex amount of simple applications using the exclusive capacity to achieve simultaneous multi-threaded program in an alternative means of access
pthread
- linux多线程编程的一个例子。里面用到了互斥锁。生产者/消费者模型。-linux an example of multi-threaded programming. Which uses a mutex. Producer/consumer model.
1.tar
- 经典的互斥锁线程例子,使用 pthread 的互斥锁机制,使得程序运行的结果正确,使用 pthread 线程库创建两个线程,两个线程都要访问共享变量counter,按照源程序的逻辑,两个线程各循环 5 次,每次循环对 counter 变量加 1,最后打印的结果是 10。-The classic example of mutex thread using pthread mutex lock mechanism, so that the results of the program is runn
