搜索资源列表
uCosII_Sem
- 该工程是在keil4上进行开发的,主要应用了ucosii的信号量功能。-The project is developing on the keil4, the main application of the ucosii semaphore functions.
RunOnly
- 利用Windows事件与信号量实现的进程单独运行控制,同一程序每次只允许一个实例存在,新实例会结束旧的,可用于软件更新等功能模块。DEMO给出了简单的列子。-Useing the Windows event and semaphore to control a process, the same procedure allows only one instance exists, the new instance replace the old, can be used for software
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.
Eating
- 模拟哲学家进餐问题,利用信号量、互斥锁等进行线程间的同步。-Analog dining philosophers problem, the use of semaphores, mutexes, etc. synchronization between threads.
CSharpMultiThread
- 关于C#的多线程的简单示例程序,其中包含了信号量,锁,BackGroudworker等内容的简单使用-A simple C# application source about multi thread!
Semaphore
- 易语言Semaphore信号量控制多线程例子-Easy language Semaphore Semaphore control multithreading example
Linux-C-Programing
- 本书主要讲述文件操作、信号量处理以及线程和网络编程-This book focuses on file operations, signal processing, and the amount of thread and network programming
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
TCPcPP
- tcp通信,套接字,客户端,可以实现类似qq的功能,用到信号量的知识-tcp socket
msg
- linux c 信号量 使用例子 信号量锁,适合初学者-linux c examples of the use semaphore semaphore lock, suitable for beginners
csem
- 仿真vxworks下的信号量,方便代码移植-smiulate the function of the sem in the os of vxworks
Test1
- 演示嵌入式操作系统uC/OSII中的通过信号量实现任务之间的单向同步-Demonstrate the one-way synchronization between two tasks through the semaphore in the embedded operating system uC/OSII.
Test5
- 演示事件标准组(信号量集)的应用--多个任务同步一个任务:五子登科(多个)--》人生幸福(单个任务)-Demonstrate the application of event flags(semaphore set)- multiple tasks synchronizate a task
2ipc
- 使用信号量机制,对文件d.txt进行+1操作,每次操作该文件时为一个原子操作(PV操作)。-Using semaphore mechanism for the file d.txt+1 operations, each operation when the file is an atomic operation (PV operation).
pthread.c.tar
- 共享锁和信号量的使用方法,多线程程序的设计原理!-Shared locks and semaphores to use, multi-threaded program design principles!
uC_Prj
- 原创的ucos例程,共11个,包含了所有ucos基本内容,如信号量,调度锁等;学STM32首先要了解ucos的架构,清楚架构后,移植都是一件很简单的事情。相信这些例题能够帮助到大家入门ucos-ucos source code exaple created by myself. 11 in all, which includes all of basic context of ucos, such as Semaphore,OSSchedLock It s need to know
pthreadcopyfileproject
- 利用线程池,互斥锁,信号量的机制,多线程拷贝文件-Use the thread pool, mutexes, semaphores mechanisms, multi-threaded copy files
read
- 图书馆模型,用信号量模拟20个读者线程到达图书馆,3个阅览位置,5个等待位置的场景。如果有阅览位则读书,没有阅览位有等待位则等待。没有等待位直接离开-Library model, using semaphores analog 20 readers thread reaches Library, three viewing positions, five waiting position of the scene. If you have read the bit is read, no rea