搜索资源列表
block
- linux中断驱动程序的实现,我搞了很长时间爱你才搞出来-struct my_pipe { wait_queue_head_t inq,outq /* read and write queues*/ char*buffer,*end /* begin of buf,end of buf*/ int buffersize /* used in pointer arithmetic*/ char*rp,*wp /* where to read,where to w
semaphore
- linux下邮箱方式进行进程通信的代码和实验报告,用P.V原语实现通信中的同步问题。运用生产者与消费者模型设计实现一个简单的信箱。-approach to the process under linux mail communications code and test reports, using PV primitives to achieve communication in the synchronization problem. The use of producer and cons
procon
- 试验目的:通过研究Linux的线程机制和信号量实现生产者消费者问题的并发控制,windows环境下运行-Test Objective: To study the mechanisms and thread Linux Semaphore producers to achieve concurrency control on consumer issues, windows environment running
ProducersAndCustomers
- 通过研究Linux的线程机制和信号量实现生产者消费者(Bounded Buffer)问题的并发控制。 通过n个缓冲区组成缓冲池共同完成“生产和消费”任务,每个缓冲区存放一个产品,生产者将生产出的产品放入空缓冲区;消费者从满缓冲区中取出产品。一旦所有缓冲区均满时,生产者必须等待消费者提供空缓冲区。另外,对所有生产者和消费者线程来说,缓冲池是临界资源,即任何一个线程在对某个缓冲区进行“存”和“取”操作时须和其他线程互斥执行。 -By studying the Linux thread and
EX6_SEMAPHORE
- A simple program for implementing the SEMAPHORE in Linux/UNIX Environment
da
- 1.实验目的 (1)理解进程/线程同步的方法,学会运用进程/线程同步的方法解决实际问题; (2)了解windows系统或unix/linux系统下中信号量的使用方法。 -1. Purpose of the experiment (1) understand the process/thread synchronization methods, learn to use the process/thread synchronization methods to solve practi
p-and-c
- 在Windows和Linux操作系统上,利用各自操作系统提供的Mutex和信号量机制(Win32 API或Pthreads),实现生产者/消费者问题-In the Windows and Linux operating systems, the use of their operating system provided Mutex and semaphore mechanism (Win32 API or Pthreads), to achieve the producer/consumer
Bzhexueey
- 通过研究Linux的线程和信号量机制来实现的哲学学家就餐问题的并发控制的,可以直接使用。 -By studying the Linux thread and semaphore mechanism to achieve the philosophical scientist dining concurrency control, can be used directly.