搜索资源列表
thrmgr
- linux下的线程池,其中使用了条件变量,互斥锁等保持线程同步的变量!
os(linuxshellthreadprocess)
- liunx下的shell实现;进程、线程同步的实现;I/O系统调用的比较(mmap)——操作系统的课程设计
chengxuyuanma
- 用多线程同步方法解决读者阅览问题 1) 每个读者进入阅览室后,即时显示“Entered” 及其线程自定义标识,还同时显示阅览室共有几名顾客及其所坐的位置。 2) 至少有10个读者,每人阅览至少3秒钟。 3) 多个读者须共享操作函数代码。 2总的设计思想及系统平台、语言、工具: 设计思想:程序设定的是10个读者和5个座位,对读者进行编号,依次进入阅览室读书,为每一座位列一表目,包括座号和读者号等,读者离开时要登出,即消掉登记的信息。 系统平台:LINUX 语言:C语言
shared-memory
- 利用信号量,锁,共享内存来实现线程同步的很好的例子-Using semaphores, locks, shared memory to achieve a good example of thread synchronization
pthread
- linux下的多线程的创建及信号同步,信号量,互斥量-under linux to create multi-threaded and signal synchronization, semaphores, mutex volume
Reader-Writer
- reader—writer problem 多线程同步算法 linux下实现-reader-writer problem linux multithreaded synchronization algorithm to achieve
readerwriter
- 在Linux下用多线程同步方法解决读者-写者问题(Reader-Writer Problem) -In Linux, use the multi-thread synchronization solution to the reader- writer problem (Reader-Writer Problem)
POSIX
- posix多线程程序设计,进程线程,线程控制,线程同步,线程模型-posix multithreaded programming, process threads, thread control, thread synchronization, thread model
grid_thread
- LINUX下多线程序,线程同步实例,实现了线程管理,可直接使用到工程中.-LINUX under the multi-line process, thread synchronization instance, to achieve the thread management can be used directly to the project
pthread_sync_and_mutual
- linux多线程极大方便了程序编写,但同时必须考虑线程同步、互斥问题。 示例代码给出了利用信号量实现P、V操作,从而保证多线程同步、互斥。-linux multithread programming is very convenient, but we must pay attention to synchronization and mutual exclusion. The sample code shows us how to ensure multi-thread synch
thread-test.tar
- 一个关于linux线程的互斥量,条件变量,信号量的例子,看完了明白互斥量等线程同步的基本使用方法-A thread on linux mutex example, read the understand the basics of using a mutex
main1
- 创建线程 同步控制 条件变量三者结合操作-Create a thread synchronization control variable combination of the three operating conditions
cond
- linux多线程同步控制实例代码 可以用cond_wait, cond_signal控制线程同步-linux multithread syncronization 可以用cond_wait, cond_signal控制线程同步
0.c.tar
- 经典的线程例子,使用 pthread 线程库创建两个线程,两个线程都要访问共享变量counter,按照源程序的逻辑,两个线程各循环 5 次,每次循环对 counter 变量加 1,最后打印的结果应该是 10。但是因为线程的特性,两个线程同步执行,所以结果是6,这是很有意思的事情。-The classic example of a thread, the thread using pthread library to create two threads, two threads must acc
Linux_sem
- Linux下信号量的使用方法,通过这个例子可以学会Linux下的线程同步方法-Under Linux semaphore usage, thread synchronization method by the example under Linux can learn
snake2
- linux下的小游戏,贪吃蛇,使用进程线程同步通信-Games under linux, Snake, using synchronous communication process threads
nachos2
- nachos02 实现线程同步 操作系统基于Linux环境的实验,在nachos01的基础上进行的实验二-nachos02 Achieve thread synchronization.On operating system,a test based on nachos 01
mutex
- 在线程实际运行过程中,经常需要多个线程保持同步。这时可以用互斥锁来完成任务。(Threads often require multiple threads to keep synchronization during the actual operation of the thread. You can then use the mutex to complete the task.)
thread_queue
- 线程池 使用 并行处理;多线程使用时最佳选择;收发同步等操作均可以使用(thread pool code;for multi-thread using)