码迷,mamicode.com
首页 >  
搜索关键字:semaphore    ( 808个结果
Nucleus PLUS应用系统示例
描述了一个Nucleus PLUS系统应用示例,包括application_initialization和六个任务,任务在application_initialization中创建。这个示例系统体现了Nucleus PLUS的任务调度和执行过程、任务间通信和同步(信号量、事件组)。...
分类:其他好文   时间:2014-06-21 20:19:30    阅读次数:320
Boost Thread学习笔记三
下面先对condition_impl进行简要分析。condition_impl在其构造函数中会创建两个Semaphore(信号量):m_gate、m_queue,及一个Mutex(互斥体,跟boost::mutex类似,但boost::mutex是基于CriticalSection的):m_mute...
分类:其他好文   时间:2014-06-20 20:11:44    阅读次数:211
多线程11-Semaphore信号灯
1.概念 Semaphore可以维护当前访问自身的线程个数,并提供了同步机制。使用Semaphore可以控制同时访问资源的线程个数,例如,实现一个文件允许的并发访问数2.案例package org.lkl.thead.foo;import java.util.concurrent.Executo.....
分类:编程语言   时间:2014-06-20 17:00:21    阅读次数:228
windows系统调用 semaphore信号量
1 #include "iostream" 2 #include "windows.h" 3 #include "cstring" 4 using namespace std; 5 6 HANDLE g_hSemThreads=INVALID_HANDLE_VALUE; 7 8 static ...
分类:Windows程序   时间:2014-06-17 14:26:59    阅读次数:353
gcd
@property (nonatomic) dispatch_semaphore_t semaphore;self.semaphore = dispatch_semaphore_create([self.progressViews count]);dispatch_semaphore_wait(se...
分类:其他好文   时间:2014-06-11 12:51:06    阅读次数:264
μCOS-II系统之事件(event)的使用规则及Semaphore实例
*************************************************************************************************************************** 作者:EasyWave                                                时间:2014.05.31...
分类:其他好文   时间:2014-06-01 09:13:14    阅读次数:258
μCOS-II系统之事件(event)的使用规则及Semaphore的互斥量用法
*************************************************************************************************************************** 作者:EasyWave                                                时间:2014.05.31...
分类:其他好文   时间:2014-06-01 09:07:52    阅读次数:305
Linux的进程/线程间通信方式总结
Linux系统中的进程间通信方式主要以下几种:同一主机上的进程通信方式* UNIX进程间通信方式: 包括管道(PIPE), 有名管道(FIFO), 和信号(Signal)* System V进程通信方式:包括信号量(Semaphore), 消息队列(Message Queue), 和共享内存(Sha...
分类:编程语言   时间:2014-05-29 03:03:59    阅读次数:374
TI C66x DSP硬件信号量 - 4(Semaphore moudle)
Semaphore module in block diagram of the TI C66x DSP device....
分类:其他好文   时间:2014-05-22 22:36:43    阅读次数:455
TI C66x DSP硬件信号量 - 3(Direct Semaphore)
Direct request is the simplest method used to request a semaphore. The request behaves as an atomic read and set operation. The result of a request is either to grant the semaphore to the requesting...
分类:其他好文   时间:2014-05-22 17:21:38    阅读次数:517
808条   上一页 1 ... 78 79 80 81 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!