Welcome![Sign In][Sign Up]
Location:
Search - mutex semaphore

Search list

[Process-ThreadthreadinWin32

Description: 在编程过程中产生线程作了全面的分析,分析CriticalSection Mutex Semaphore Event在线程中的应用时各自优缺点作详细解说
Platform: | Size: 22439994 | Author: renxiong | Hits:

[source in ebookvc_jiqiaoshili_part4

Description: Visual.C++程序设计技巧与实例--配套光盘 第4章 进程和线程 本章共有8个实例: 1. Process创建和终止进程 2. WorkerThread创建工作者线程 3. UIThread用户界面线程示例 4. Event使用事件对象来实现线程的同步 5. Thread使用临界区对象来实现线程的同步 6. Mutex使用互斥量对象来实现不同进程间的线程同步 7. Semaphore使用信号量对象实现线程的同步 8. MutiThread多线程任务调度与处理-Visual.C program design techniques and examples-- matching CD Chapter 4 of this chapter thread and process a total of eight examples : 1. Process creation and termination process 2. WorkerThread threads created three workers. U IThread user interface thread Example 4. Event object to the use of the incident to Thread Synchronization 5. Th read using critical areas to achieve the target thread synchronization 6. Mutex mutex used to achieve volume targets different process The thread synchronization 7. Semaphore use semaphore object to Thread Synchronization 8. MutiThr perf multithreaded task scheduling and processing
Platform: | Size: 377856 | Author: xixi | Hits:

[Process-ThreadThread

Description: 本程序主要是实现临界区,互斥,信号量的运用的一个进程和线程相关的源码,希望有帮助-This procedure is mainly the achievement of critical areas, Mutex, Semaphore the use of a process and thread-related source code, hope that helps
Platform: | Size: 46080 | Author: DengXB | Hits:

[Process-ThreadthreadinWin32

Description: 在编程过程中产生线程作了全面的分析,分析CriticalSection Mutex Semaphore Event在线程中的应用时各自优缺点作详细解说-In the programming process thread comprehensive analysis CriticalSection Mutex Semaphore Event in the thread of the application for a detailed explanation of their respective advantages and disadvantages
Platform: | Size: 22439936 | Author: | Hits:

[OS program65gfhfdh

Description: 课本上的算法是有信号量机制实现的(不要问我什么是信号量,课本上没讲)。声明一个int变量mutex(信号量),调用wait() signal()方法 。 wait(mutex) // if(mutex==0) { 阻塞当前进程 } else ( mutex-- } signal(mutex) // mutex++ 唤醒wait进程 -Textbooks on algorithms is a semaphore mechanism to achieve (do not ask me what is semaphores, textbook did not speak). Declare a int variable mutex (semaphore), call wait () signal () method. wait (mutex)// if (mutex == 0) (blocking the current process) else (mutex-) signal (mutex)// mutex++ wake-up wait process
Platform: | Size: 1024 | Author: wang shao hua | Hits:

[VC/MFCMutilThread

Description: 初学VC++多线程必不可少的资料,内容非常详细。讲到了临界区(CCriticalSection) 事件(CEvent)互斥量(CMutex)信号量(CSemaphore) -Beginner VC++ Multi-threaded essential information, very detailed. Referred to the critical region (CCriticalSection) events (CEvent) mutex volume (CMutex) Semaphore (CSemaphore)
Platform: | Size: 22528 | Author: 小钻风 | Hits:

[source in ebookthread-process

Description: VC++进程线程实例:EVENT,MUTEX,MUTITHREAD,PROCESS,SEMAPHORE,THREAD,UITHREAD,WORKERTHREAD-VC++ Process instance thread: EVENT, MUTEX, MUTITHREAD, PROCESS, SEMAPHORE, THREAD, UITHREAD, WORKERTHREAD
Platform: | Size: 316416 | Author: 123 | Hits:

[Windows Developthread

Description: 线程锁.Windows系统是多任务操作系统,系统内核为我们提供了 事件(Event)、Mutex、信号灯(semaphore)和计时器4种对象来控制线程间的同步。 在C++Builder中,为我们提供了用于创建Event的TEvent对象供我们使用。-Thread lock. Windows system is a multi-tasking operating system kernel to provide us with the event (Event), Mutex, semaphores (semaphore) and four kinds of timer objects to control the inter-thread synchronization. In C Builder, in order to provide us with the TEvent used to create the Event object for our use.
Platform: | Size: 3072 | Author: 叶浩全 | Hits:

[Process-Threadproducer-consumer-problem

Description: Introduction In this project, we will design a programming solution to the bounded-buffer problem using the producer and consumer processes . The solution uses three semaphores: empty and full, which count the number of empty and full slots in the buffer, and mutex, which is a binary (or mutual exclusive) semaphore that protects the actual insertion or removal of items in the buffer. For this project, standard counting semaphores will be used for empty and full, and, rather than a binary semaphore, a mutex lock will be used to represent mutex. The producer and consumer – running as separate threads – will move items to and from a buffer that is synchronized with these empty, full, and mutex structures. You are required to use the pthread package to solve this problem in this project. And there can be several producers/consumers as many as you want. -Introduction In this project, we will design a programming solution to the bounded-buffer problem using the producer and consumer processes. The solution uses three semaphores: empty and full, which count the number of empty and full slots in the buffer, and mutex, which is a binary (or mutual exclusive) semaphore that protects the actual insertion or removal of items in the buffer. For this project, standard counting semaphores will be used for empty and full, and, rather than a binary semaphore, a mutex lock will be used to represent mutex. The producer and consumer- running as separate threads- will move items to and from a buffer that is synchronized with these empty, full, and mutex structures. You are required to use the pthread package to solve this problem in this project.And there can be several producers/consumers as many as you want.
Platform: | Size: 96256 | Author: MidnightD | Hits:

[Windows DevelopAccess

Description: 在Windows2000环境下,创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件(后面介绍)的要求进行读写操作。用信号量机制分别实现读者优先和写者优先问题。 读者-写者问题的读写操作限制(包括读者优先和写者优先) 1) 写-写互斥:不能有两个写者同时进行写操作 2) 读-写互斥:不能同时有一个线程在读,而另一个线程在写。 3) 读-读允许:可以有一个或多个读者在读。 -In Windows2000 environment, create a console process, this process contains n threads. Using this n that n threads to a reader or writer. Each thread in accordance with the corresponding test data files (described later) to read and write operation requirements. Semaphore mechanism with the respective priorities and the achievement of the readers who write priority issue. Readers- to write the issue of restrictions on the read and write operations (including readers and write priority priority) 1) to write- write mutex: You can not write those two write operations at the same time 2) read- write mutex: not at the same time there is a line way in the reading and writing another thread. 3) Reading- Reading allowed: You can have one or more readers to read.
Platform: | Size: 15360 | Author: 陈媛 | Hits:

[SCMcangkuguanlisheji

Description: 读者与写者的实现,是n个线程之间的信号量的互斥问题 -The reader and the realization of writing is the thread between the n-the Mutex Semaphore problem
Platform: | Size: 26624 | Author: zenglei | Hits:

[Multimedia programmutex

Description: uc/OS-ii互斥信号量的处理,大家好好研究啦-uc/OS-ii Mutex Semaphore handling of everyone you carefully study
Platform: | Size: 336896 | Author: 华超 | Hits:

[JSP/JavaSemaDemo

Description: 英国帝国理工学院电脑系多线程课程教学材料之四 ---- 用Semaphores互斥访问-The program uses a semaphore to ensure that it is not possible for threads to enter their critical sections at the same time. The critical section is represented by a light blue (cyan) colour. To execute in this region, a thread must have acquired mutual exclusion by executing a down() operation on the semaphore Mutex. The length of time each thread spends in its critical section may be adjusted using the slider control. Further to the right increases this time. The adjustment takes effect at the beginning of each revolution.
Platform: | Size: 3072 | Author: Key | Hits:

[OS Developmune

Description: 线程同步机制。 互斥器的功能和临界区域很相似。区别是:Mutex所花费的时间比Critical Section多的多,但是Mutex是核心对象(Event、Semaphore也是),可以跨进程使用,而且等待一个被锁住的Mutex可以设定TIMEOUT,不会像Critical Section那样无法得知临界区域的情况,而一直死等。-Thread synchronization mechanism. Mutex' s function and the critical region is very similar. The difference is: Mutex spent more time than the multi-Critical Section, but the Mutex is the core object (Event, Semaphore is), you can cross-process use, and has been locked waiting for a Mutex can be set to TIMEOUT, not as Critical Section did not know the critical situation in the region, for so long and so die.
Platform: | Size: 1888256 | Author: 陈小 | Hits:

[Process-Threadthrd-win32

Description: Win32 现成创建,包括Win32 MUTEX 锁和WIN 32 SEMAPHORE 信号灯。-Windows 32 thread create.
Platform: | Size: 1024 | Author: fengchong | Hits:

[ARM-PowerPC-ColdFire-MIPStest

Description: 为体现内核的优先级天花板思想的策略,设计三个处于不同优先级的任务。在每个任务中,首先申请互斥信号量,延迟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 for mutex semaphores, delay 200TICKS and released mutex semaphore. Experience of running processes through the task priority ceiling ideas.
Platform: | Size: 1024 | Author: 李有很 | Hits:

[Software EngineeringSemaphores

Description: Its is the linux/unix system application programming ....data resource management by semaphore /mutex
Platform: | Size: 9216 | Author: dipen | Hits:

[Windows DevelopMuti-thread-win32

Description: 用C语言撰写的多线程win32程序,运用了mutex,semaphore和event来同步多个线程-Written in C language with multi-threaded win32 program, using a mutex, semaphore and event to synchronize multiple threads
Platform: | Size: 1024 | Author: Nervix | Hits:

[Process-ThreadMUTEX

Description: 进程与线程中的信号量编程,有关Mutex方面的源代码-Process and thread semaphore programming, the Mutex' s source code
Platform: | Size: 63488 | Author: 陈九天 | Hits:

[Delphi/CppBuildercritical-section-mutex-semaphore

Description: 详解Delphi中多线程同步中使用临界区、互斥、信号量的定义、区别,并附有详细的源码。-Detailed in Delphi multi-threaded synchronization used in the critical section, mutex, semaphore definition, the difference with the source code in detail.
Platform: | Size: 17408 | Author: 郑冲 | Hits:
« 12 3 4 »

CodeBus www.codebus.net