搜索资源列表
OsDemo
- 操作系统原理实例代码,涉及进程、线程、信号量等操作系统的原理和思想的实现。-operating system code examples principle involved process, threads, signals and so on the operating system principles and ideas of achievement.
thread_useandcorrespond
- 线程的调用与关闭以及使用两个信号量来完成双线程(读取与写入操作)的协调问题。-thread with a call to the closure and the use of two signals to complete the two-volume threads (read and write) and coordination issue.
TRMP
- 一个多线程发送并口控制信号的程序,控制信号的频率达到微秒级-a multithreaded parallel port control signals sent to the procedures, the frequency control signal to achieve microsecond
jingcheng
- WindowXp 线程同步 1.创建和打开事件对象在进程间传送信号 2.利用互斥体保护共享资源-WindowXp thread synchronization 1. To create and open the event object to send signals between processes 2. Protection of shared resources using mutex
PV
- 用多线程实现“生产者-消费者问题”本作业要求设计并实现一个进程,该进程拥有一个生产者线程和一个消费者线程,它们使用N个不同的缓冲区(N为一个自定义的确定的数值,例如N=32)。你需要使用如下信号量:一个互斥信号量,用以阻止生产者线程和消费者线程同时操作缓冲区列表;一个信号量,当生产者线程生产出一个物品时可以用它向消费者线程发出信号;一个信号量,消费者线程释放出一个空缓冲区时可以用它向生产者线程发出信号; -Achieved with multi-threaded " producer
Experiment_Signal
- 创建两个子进程,在进程执行中让父进程捕获键盘上传来的中断信号。 当多捕捉到中断信号后,父进程向两个子进程发出信号,子进程捕捉到该信号后分别输出: (1)“child process1 is killed by parent!” (2)“child process2 is killed by parent!” -Create two sub-processes, in the process of implementation so that the parent proce
Thread
- 同步信号:信号量同步,临界区同步,互斥同步,清屏功能。-Synchronization signals: semaphore synchronization, critical section synchronization, mutual exclusion synchronization
Basic
- 信号与系统基础知识包括连续信号与模型,离散信号与模型-Basic knowledge of signals and systems including continuous signal and model, discrete signal with the model