搜索资源列表
sem
- 占领日本80%的实时嵌入式系统t-engine下的信号量编程-occupation of Japan 80% of the real-time embedded systems t-engine volume of programming signals
读-写
- 在windows 98/2000下,创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制实现读者优先的读者——写入者问题。-the windows 98/2000, the process of creating a console, this process contain n threads. Use of these n threads to express n readers who write. Each
ccsmutex
- TI CCS2.1 task 信号量之间相互操作的样板程序,文件包是一个完整的工程.-volume signal operation between the model procedures, documentation package is a complete project.
socket Chat
- 一个用阻塞方式的socket 做的聊天程序,使用了多线程和信号量技术-an obstructive manner with the socket so chat, the use of the multithreading technology and signal volume
pp_mutex
- 用MFC实现进程互斥,用的是MUTEX互斥信号量-with MFC contradict process, the signal is MUTEX contradict volume
支持多个进程并发运行的简单进程管理模拟系统
- 支持多个进程并发运行的简单进程管理模拟系统。本系统的同步机构采用的信号量上的P,V操作的机制;控制机构包括阻塞和唤醒操作;时间片中断处理程序模拟的时间片中断;进程调度程序负责为各进程分配处理机。-support multiple concurrent processes running a simple process management simulation system. The system adopted by the synchronization signal quantity o
Mini FtpServer
- 一个演示工作原理命令的ftp服务器程序,使用信号量和临界区解决多线程的同步和互斥问题 -a demonstration of principle orders ftp server, the use of volume and signal to solve critical multithreading and synchronization of Mutual Exclusion
uCOS2_4510_EG
- UCOSII V2.52 在三星SNDS4510开发板(国内基本所有的4510b的板子都是抄袭此公板设计的)上移植的成功例子,本压缩包内的MBoxMain.c为消息邮箱的例子,使用时请把其更名为main.c,MSemMain.c为信号量的例子,使用时请把其更名为main.c。-UCOSII V2.52 Samsung SNDS4510 development board (all the basic domestic 4510b are copying features of this publ
UCOS2_ZLGGUIv0.2
- 开发环境为ADS V1.2 v0.2 加入zlg_gui代码后调试通过, 现有功能:ucos2+zlg_gui,实现按KEY1键使蜂鸣器响两声并在LCD液晶上打印出按键次数。使用了信号量互斥的方法实现了只有先按键后蜂鸣器才响铃。-development environment for ADS V1.2 V0.2 joined zlg_gui code debugging, the existing functions : ucos2 zlg_gui achieve by KEY1 ke
sem_fun
- 一组关于linux/unix下sem信号量的控制函数代码,实现对信号量的创建,加,减,删除,返回操作值等操作.-a group of linux / unix sem signal under the control function code, the signal achievement of creation, plus or minus, delete, returned to the operating value of such an operation.
InterComm
- 我的一段关于Linux/Unix下重复服务器,消息队列,信号量,共享内存综合使用的代码.-on Linux / Unix server duplication, Message Queue, semaphores, shared memory integrated use of the code.
signaluse
- μCOS-II基础实验,包含信号量使用的程序- COS-II experimental basis, the volume contains signal the procedures used
unix_reader_writer
- unix下实现的读写者问题的代码,使用信号量的方法实现-under the problems of reading and writing code, the use of signal method
ucos252-src
- 著名的嵌入式操作系统uC/OS的完整内核源代码,内核版本号2.52。 该源代码主要包括如下几个方面: 1、任务管理 2、消息邮箱 3、消息队列 4、信号量 5、事件管理 6、内存管理-famous embedded operating system uC / OS kernel integrity of the source code, the kernel version 2.52. The source code includes the following ma
test_sem_vc
- 在vc环境下对ucos-ii的信号量的应用,有助于我们更加深刻的了解ucos-ii的通信。-in vc environment right CENTER-ii of the signal applications, help us to a more profound understanding CENTER-ii communication.
multitaskRTC
- 基于ucos的多任务与系统时钟实验,使用信号量解决任务间互斥问题,把系统时间显示在一个文本框中-based multi-task with the system clock experiments, the use of signal volume between mutually exclusive mandate to solve the problem, the system shows the time in a text box
sheng
- 操作系统生产者消费者问题的一个程序,用信号量做的-operating system producers and consumers of a program that will signal to do
windows_reader_writer
- 线程的读者优先与写者优先。创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件进行读写操作。用信号量机制分别实现读者优先和写者优先的读者写者问题。-priority threads with the readers who wrote priority. The process of creating a console, this process contain n threads. Use of these n threads to expre
threadphilosopher
- 利用线程方案实现实现哲学家问题.设置五个信号量代表五把叉子,初使值均为1,表示5把叉子均可以取,设置五个线程代表5个哲学家,其值分别为0~4,规定奇数号的哲学家先拿起他左边的叉子,然后再去拿他右边的叉子 而偶数号的哲学家则相反.按此规定,将是1,2号哲学家竞争1号叉子,3,4号哲学家竞争3号叉子.即五个哲学家都竞争奇数号叉子,获得后,再去竞争偶数号叉子,最后总会有一个哲学家能获得两支叉子而进餐。而申请不到的哲学家进入阻塞等待队列,根FIFO原则,则先申请的哲学家会较先可以吃饭,因此不会出现饿死的
list.cpp
- 信号量又称为信号灯,它是用来协调不同进程间的数据对象的,而最主要的应用是前一节的共享内存方式的进程间通信。本质上,信号量是一个计数器,它用来记录对某个资源(如共享内存)的存取状况。一般说来,为了获得共享资源,进程需要执行下列操作:-volume also known as signal lights, it is used to coordinate different processes of the data object, but the most important applicatio