搜索资源列表
sem_proc_consume
- 关于信号量的简单代码,供Linux C语言编程学习的朋友参考-Simple code, semaphore friend Reference for Linux C programming language learning
sem_linux
- 学习信号量集时候写的一些小代码,可作为参考用-Learning semaphore set time to write some code that can be used as reference
111
- 编写一个生产者-消费者程序组,支持多个生产者和消费者,生产者进程数为2, 消费者进程数为3。 生产者与消费者之间使用共享内存进行数据传递,并使用信号量对数据的内容进行保护。-Preparation of a producer- consumer program group, supports multiple producers and consumers, the the producer process for 2 Consumers number of processes.
semaphore
- 关于操作系统的信号量的应用,就是哲学家就餐问题-Semaphore about the operating system, applications, is the dining philosophers problem
ICP_lamport
- 进程间通讯的经典问题lamport——面包师问题。设计到信号量和互斥量-Inter-process communication the classic problem lamport- baker problem. Designed to semaphores and mutexes
signal
- linux应用程程序进程间的通讯方式之一信号量,经过测试,好用。-One of the means of communication between the the linux application program process semaphores, tested, easy to use.
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.
threads
- 多线程十大经典案例之一秒杀多线程,多线程同步互斥问题《秒杀多线程第四篇一个经典的多线程同步问题》及解决多线程同步互斥的常用方法——关键段、事件、互斥量、信号量、读写锁。为了让大家更加熟练运用多线程,将会有十篇文章来讲解十个多线程使用案例,相信看完这十篇后会让你能更加游刃有余的使用多线程。-Multi-threaded Ten classic case of the spike multi-threaded, multi-thread synchronization mutex problem &
sharedFIFO
- 信号量+共享内存 一个实现信号量以及共享内存的封装类-semphore and shared memory
vcthr
- VC线程信号量的使用举例源码,点击启动线程,可发现出现了什么。介绍线程方面的基础知识技巧。-VC thread the use of semaphores example source code, to click start threads can be found what appeared. Introduce the thread the basics skills.
mutex
- Linux中信号量、线程、同步及互斥等例子-Examples of Linux, semaphores, threads, synchronization and mutual exclusion
ipc
- linux管道和信号量等进程通信机制的基础源代码。-the pipe and fifo code for linux.
randw
- 操作系统中经典的读者写者问题,利用的信号量机制实现,完整工程文件,已通过老师的答辩。-OS classic readers to write, use semaphore mechanism realization of the full project file, has passed the teacher' s reply.
barber
- 操作系统,关于理发店的经典问题的解决办法。在linux下变成,包括了互斥、同步信号量以及信息传递问题。-Operating system, about the solution of barber. coding with the Linux system, including synchronous and mutex and tranferation of information
writerandreader
- 操作系统,关于读者写者问题。包括信号量机制、互斥同步信号,信息传递等。编译成功通过。-Operating system, on the readers and the writers. Mechanism including semaphores, mutexes synchronization signal information transmission. Compile successfully.
producer_consumer
- 在Linux下创建两个线程,利用信号量和互斥锁实现生产者和消费者的典型问题。编译器G-Under Linux creates two threads using semaphores and mutexes to achieve the typical problems of producers and consumers. GCC compiler
source
- 在vc下编译通过完整的UCOSII的4个任务的程序,包括信号量,消息邮箱等-In vc compile complete the four tasks UCOSII procedures, including semaphores, message mailboxes, etc.
semaphore_1
- linux信号量的通信,代码能够运行,注释很详尽。-linux semaphore communication, code can run, very detailed notes.
tc1234
- 父进程循环fork四个子进程并且用信号量控制其循环打印1234可扩展打印4123或2341-Parent process cycle fork four sub-process and use semaphores to control its circulation print 1234 print 4123 or 2341 can be extended