搜索资源列表
a4
- the mutual exclussion through a Mesa style monitor implemented using mutex and condition variables in C
3-1
- 进程的同步与通信 多线程编程中关键的一步是保护所有的共享资源,工具主要有互锁函数、临界区和互斥信号量等;另一个实质性部分是协调线程使其完成应用程序的任务,为此,可利用内核中的事件对象和信号。-Process Synchronization and Communication Multi-threaded programming is a key step in the protection of all of the shared resources, tools, mainly i
ucosii_mutex
- MicroC OS II Mutex example
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
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
demsgx
- 这是我个人写的一个调试信息输出,支持多线程下输出信息(有mutex互斥支持),运行体积小。输出信息时只需要引用 sdebugx.pas,创建类 sdebugprintboard 即可。使用Pascal语言。-It is multithread support debugger, write by pascal. the binary(debug print) is very small, and effective. All program want to print debug me
OSdeadlock
- Deadlock and how to solve it with mutex a client request bank command like DEPOSIT CREATE TRANSFER WITHDRAW and 4 server server 1 simple server. server 2 shows wrong answer an withdraw(2 terminal - 2 threads) server 3 solve 2 server 4 sol
vcthreads
- 10个VC++多线程操作实例源代码,内容涉及如何安全终止线程、如何创建UI线程、如何创建Worker线程、如何等待线程结束、如何挂起和恢复线程、如何获得线程的退出码、如何使用互斥量、如何使用临界区、如何使用信号量等内容,入门者更应该看一看,多线程的使用很广泛,可以提高程序效率。 -10 VC++ source code examples of multi-threaded operation, which relates to how to safely terminate the thre
MultiThread1
- 实现火车站售票系统,采用多线程和互斥对象,在VC++环境实现。-Achieve the train station ticketing system, using multi-thread and mutex objects, in the VC++ environment for implementation.
W1
- 线程同步,采用mutex实现! 其中还含有泛型编程Ttest类! 可以下载,在VS2008可以执行。-thread sync
ex3
- 用win32同步对象解决临界区问题,用win32提供的同步对象中的任一种,解决兄弟问题,修改sm6.cpp,使用互斥对象Mutex ,用互斥对象Mutex,使得两个进程中的某些个处于wait状态,而一个处于运行态-Synchronization with the win32 object to solve critical problems, with the win32 synchronization objects provided by any one, to solve the pr
ex4
- 解决有限缓冲区问题,用Win32提供的同步对象解决有限缓冲区问题,修改sm6.cpp,在它的基础上修改线程函数并予以控制。用一个Symbol区分线程类型,用事件对象实现线程互斥的运行 -To solve the problem with limited buffers, using Win32 synchronization objects to provide limited buffers to solve the problem, modify sm6.cpp, on the basi
papi_parallel
- Programs Descr iption 1. Program Name : papi-pthreads-find-min-value.c Descr iption : The program randomly generated the list of integers.The list of integers is partitioned equally among the threads. The size of each threads partit
ProducerandConsumer
- this program solve problem of producer/consumer on semaphors and mutex
readerwriter
- 读者写者问题C++解法,使用互斥信号量,写者线程优先,共有3个读者2个写者-Similar to the barbers problem,the program use semaphore to solve the reader/writer problem.Two semaphores are involved:m_h,db_h,used as a counter and mutex between 2 writers. Main function create 3 reader thre
CoOSv1.12
- ARM Cortex M3及M0定制操作系统 高度可裁剪性,最小系统内核仅974Byte 支持优先级抢占和时间片轮转 自适应任务调度算法 零中断延时时间 堆栈溢出检测 信号量、邮箱、队列、事件标志、互斥等同步通信方式 支持多种编译器:ICCARM、ARMCC、GCC -Specially designed for Cortex-M series Scalable, minimal system kernel is only 974Byte A
ThreadMutex
- 线程同步之互斥对象,希望能给初学者提供帮助-The mutex thread synchronization objects, could help beginners
2009103015231441894
- 10个VC++多线程操作实例源代码,内容涉及如何安全终止线程、如何创建UI线程、如何创建Worker线程、如何等待线程结束、如何挂起和恢复线程、如何获得线程的退出码、如何使用互斥量、如何使用临界区、如何使用信号量等内容,入门者更应该看一看,多线程的使用很广泛,可以提高程序效率。 -10 VC++ source code examples of multi-threaded operation, which relates to the safe termination of the thre
futex-2.2.tar
- Linux 快速用户态互斥锁例程。 linux2.5以上内核,支持Futex,对于刚接触的用户,使用起来非常麻烦,这部分源码,详尽的利用futex基础原理,进行了封装,并且给出了几个测试例子。-Fast User Mode Linux mutex locking routines. linux2.5 above kernel, support Futex, for the new to the user, is very cumbersome to use, this part of the
ledmutex
- led mutex RTOS programming