搜索资源列表
Productor_Consumer
- 1、在Windows系统环境下,用Windows API编程实现操作系统经典同步问题。 2、理解和运用信号量、PV原语、进程间的同步互斥关系等基本知识。 3、在实习过程中,加强对于进程同步概念的理解,对于实验进行分析。 4、掌握在Windows环境下多线程(进程)程序设计的一些基本方法。 -1, in the Windows system environment, Using Windows API programming operating system classic syn
linux_pc
- 操作系统作业:由多进程实现生产者和消费者的同步。由于不是多线程,因此通过共享内存实现。互斥访问通过信号量实现。
chengxuyuanma
- 用多线程同步方法解决读者阅览问题 1) 每个读者进入阅览室后,即时显示“Entered” 及其线程自定义标识,还同时显示阅览室共有几名顾客及其所坐的位置。 2) 至少有10个读者,每人阅览至少3秒钟。 3) 多个读者须共享操作函数代码。 2总的设计思想及系统平台、语言、工具: 设计思想:程序设定的是10个读者和5个座位,对读者进行编号,依次进入阅览室读书,为每一座位列一表目,包括座号和读者号等,读者离开时要登出,即消掉登记的信息。 系统平台:LINUX 语言:C语言
Linux_Kernel
- Linux中各种内核态程序的编写,这是某个人的编程心得,里面有源代码,内容涉及互斥锁、信号量、多线程等,很不错的,值得参考!-Linux Kernel in a variety of procedures for the preparation of state, this is a personal experience of programming, which source code, which relates to mutual exclusion locks, semaphores,
pthread
- linux下的多线程的创建及信号同步,信号量,互斥量-under linux to create multi-threaded and signal synchronization, semaphores, mutex volume
consumer_producer
- 用信号量机制实现多个生产者—消费者问题,实现线程间的同步与互斥-Semaphore implementation mechanism with a number of producers- the consumer problem, achieve inter-thread synchronization and mutual exclusion
ThreadSynByEvent
- win ce下多线程的实验源码,一共有三个多线程实验,分别是按事件、信号量、等,此文档为事件线程-under win ce-source multi-threaded test, a total of more than 3-thread experiments are based on events, semaphores, and so on, this document for the event thread
wei_linux
- 多线程编程基础(理论+实例) 包括互斥锁,条件变量,线程数据,信号量,线程属性。-The basis of multi-threaded programming (theory+ examples), including mutex locks, condition variables, thread data, semaphores, thread attributes.
library
- 模拟图书馆系统,运用多线程、信号量,图书馆中有20个座位,外有10个座位-Simulation library system, the use of multiple threads, semaphores, the library has 20 seats, 10 seats outside
readingroom
- 用信号量模拟阅览室管理系统,使用简单的多线程机制-Simulation with Signal Analysis System, using a simple multi-threaded mechanism
bingFa
- 在linux环境下,使用多线程和信号量机制实现经典的读者写者问题-In the linux environment, using multiple threads and semaphore mechanism to bring readers to write the problem of classic
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
semaphore
- 信号量(Semaphore)也被称为信号灯,常常作为在多线程环境下的同步与互斥机制。它负责协调各个线程,以保证它们能够正确、合理的使用公共资源。信号量分为单值和多值两种。单值信号量只能被一个线程获得,而多值信号量可以被若干个线程获得。 本实验是一个信号量实验,父进程作为生产者释放信号量,子进程作为消费者申请信号量。 实验环境 Redhat9.0-Semaphore (Semaphore), also known as signal lights, often in multi-th
IPC_Funs
- c++写的在linux环境下多线程间使用互斥锁、posix信号量和system v信号量,实现的通信程序。自己编写的,自己测试过。-written in c++ linux environment using multi-thread mutex locks, posix semaphores and system v semaphore, to achieve the communication program. I have written, and tested.
p02
- 使用信号量的司机-售票员多线程通信模型实现。-Drivers use semaphore- conductor to achieve multi-threaded communication model.
final
- linux 多线程编程案例 使用信号量实现互斥-linux multi-threaded programming case
MutexAndSemaphoreTest
- 使用Windows信号量和互斥量实现生产者和消费者问题。对于多线程开发很有指导意义。-use Windowss semaphore and mutex to implement producer and consumer program!!
mutex_semphore
- Linux下操作系统的基本知识,在多线程处理中通过信号量进行互斥处理。-Basic knowledge of the Linux operating system under multithreading semaphore mutex.
pthread-master
- 模拟多线程之间信号量交互,适用于linux平台,采用c语言(semaphore interaction between multiple threads)