搜索资源列表
ProducersAndCustomers
- 通过研究Linux的线程机制和信号量实现生产者消费者(Bounded Buffer)问题的并发控制。 通过n个缓冲区组成缓冲池共同完成“生产和消费”任务,每个缓冲区存放一个产品,生产者将生产出的产品放入空缓冲区;消费者从满缓冲区中取出产品。一旦所有缓冲区均满时,生产者必须等待消费者提供空缓冲区。另外,对所有生产者和消费者线程来说,缓冲池是临界资源,即任何一个线程在对某个缓冲区进行“存”和“取”操作时须和其他线程互斥执行。 -By studying the Linux thread and
bios_mbx_sem_swi
- CCS下DSP/BIOS实时操作系统相关例程源代码,包括邮箱、软件中断,旗语等管理模块-CCS under the DSP/BIOS real-time operating system source code related routines, including mail, software interrupt, semaphore management module, etc.
OperatingSystem
- 该程序涉及进程创建和撤销相关理论;涉及信号量相关理论;涉及进程调度相关理论; 涉及死锁相关理论;涉及页面置换相关理论;涉及磁盘调度相关理论;涉及内存管理相关理论;是一个真实的内核实验,它涉及了可执行文件的装载与重定位。 -The program involves the process of creation and revocation of the relevant theory related Semaphore related theory involved in the proce
1
- 操作系统信号量操作,PV操作,信号量机制,C++实现pv操作-Semaphore operation of the operating system, PV operation, semaphore mechanism, C++ to achieve pv operation
sem_named_lock
- use named semaphore to lock and unlock the resource, like mutex, but it use between processed.
DesignofMultipleInterruptsTreatmentBasedonVxWorks.
- :考虑VxWorks 的中断在具体实现上的特殊性,提出一个针对多块采集板系统的中断设计方案,把传统的中断服务程序分解为中断 服务程序和中断服务任务,利用信号灯进行同步,通过在中断服务任务中引入用户定义的优先级,增强系统处理多中断时的可靠性和实 时性。-】Considering the specificity in the specific realization of interrupt in the VxWorks, this paper proposes an interrupt t
rw
- 创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制分别实现读者优先和写者优先问题。-Create a console process, this process contains n threads. Use of these n threads to represent n-reader or writer. Each thread according to the requirements of the cor
Reader_Writer_plus
- 一个属于操作系统方面的一个著名的读者写者问题,通过它的实现可以对操作系统信号量机制和进程线程同步及通信有深刻的理解-A part of the operating system in a well-known readers to write those problems, through its implementation can be a mechanism and process of the operating system semaphore thread synchronizati
thrd-win32
- Win32 现成创建,包括Win32 MUTEX 锁和WIN 32 SEMAPHORE 信号灯。-Windows 32 thread create.
MCP2515_driver_s3c2440based
- 本驱动程序在s3c2440上实现了两路基于SPI的CAN总线控制器。两通道可以并行,并使用外部定义的两个信号量来通知接收任务收到CAN总线帧,并将其存入预先定义的队列中(帧定义在CAN总线控制器驱动程序的头文件中)。CAN总线控制器的中断引脚分别连接到ARM的EINT3和EINT8_23上-The driver s3c2440 achieved a two-way SPI-based CAN bus controller. Two channels can be parallel, and us
JavaRaceinSemaphore
- CAR Rac eImplementation-Usage of Semaphore
javafr_APPLICATION-SEMAPHORE-RESOLUTION-PROBLEME-
- application du sémaphore
codel
- procesus, thread, pipe, semaphore and synchronisation interblocage
msg
- 信号量 服务器客户端进程间的 互相通信-Semaphore server client process communicate with each other between the
pc
- 信号量的实现和应用 实现生产者和消费者的问题-Semaphore implementation and application of issues to achieve both producers and consumers
Interprocess_Communications_in_Linux
- This document provides the good insight of the interprocess communication. It also covers many useful topics such as message queue, shared memory, semaphore and so on.
5examplesofLinux-c
- 简单的字符设备驱动程序mydriver.c、用mmap()来读取/etc/passwd 文件内容、mutex的使用实例、condition virable的使用实例、semaphore的使用实例-A simple character device driver mydriver.c, using mmap () to read/etc/passwd file content, mutex the use of examples, condition virable the use of exam
cs307
- semaphore hede for java.
test
- 为体现内核的优先级天花板思想的策略,设计三个处于不同优先级的任务。在每个任务中,首先申请互斥信号量,延迟200TICKS后释放互斥信号量。通过任务的运行流程体会优先级天花板思想。-In order to reflect the priority of the kernel ceiling thinking of strategy, design three tasks at different priorities. In each task, the first of applications
5
- 信号量机制在进程通信中应用的举例(包含没有设置信号量、设置信号量及信号量机制和共享内存结合的纵多例子)-Semaphore mechanism in the process of communication applications, for example (including the semaphore is not set, set the semaphore and shared memory semaphore mechanism and the vertical integratio