Welcome![Sign In][Sign Up]
Location:
Search - Critical Section

Search list

[Process-Threadmulti_thread.zip

Description: 3种多线程同步方式(Critical Section,Mutex,Event)的小例子
Platform: | Size: 2729 | Author: | Hits:

[Process-Threadthread.zip

Description: 3种多线程同步方式(Critical Section,Mutex,Event)的小例子
Platform: | Size: 3891 | Author: | Hits:

[Process-Thread3ThreadDoc

Description: 多线程----介绍3种多线程同步方式(Critical Section,Mutex,Event)例子-introduced three kinds of multithreaded synchronization mode (Critical Section, Mutex, Event) example
Platform: | Size: 3042 | Author: popandsmtp | Hits:

[Process-Threadmulti_thread

Description: 3种多线程同步方式(Critical Section,Mutex,Event)的小例子-3 multithreading synchronous mode (Critical Section, Mutex, Event) small example
Platform: | Size: 3072 | Author: 站长 | Hits:

[Process-Thread3ThreadDoc

Description: 多线程----介绍3种多线程同步方式(Critical Section,Mutex,Event)例子-introduced three kinds of multithreaded synchronization mode (Critical Section, Mutex, Event) example
Platform: | Size: 3072 | Author: popandsmtp | Hits:

[Process-ThreadMultiThread

Description: 多线程的三种形式,对象,互斥,临界区,希望对大家学习多线程有用.-Three forms of multi-threaded, object, mutex, critical section, in the hope that we learn from multi-threaded useful.
Platform: | Size: 16384 | Author: wu0251 | Hits:

[Linux-Unixpv

Description: 设有父子2个进程共享一个临界资源,每个进程循环进入该临界区3次:父进程每次进入临界区后显示“prnt in”,出临界区则显示“prnt out”;子进程每次进入临界区后显示“chld in”出临界区则显示“chld out”。观察运行结果,应该是一个进程出来后另一个才能进去。 -Father and son with two processes share a critical resource in each process cycle to enter the critical section 3 times: each time the parent process into the critical region revealed prnt in , a critical region showed prnt out each sub-process times to enter the critical region revealed chld in a critical region showed chld out . Observation of the results, it should be a process in order to go after another.
Platform: | Size: 1024 | Author: 吕璐 | Hits:

[OS programCritical

Description: 定位临界区(critical section)导致的死锁。本程序用示例演示死锁的产生过程,和解决办法。-Do not use Thread Checker,Thread Profiler,WinDbg, but VC++.
Platform: | Size: 1204224 | Author: wolaiyule | 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:

[Process-ThreadCriticalSection

Description: this a Critical Section test program. code is simple but easy to learn.-this is a Critical Section test program. code is simple but easy to learn.
Platform: | Size: 1212416 | Author: metlbard | Hits:

[Education soft systemJAVA_RMI_Win

Description: Client/Server application. This application was written using RMI Java. It resolve "access to critical section " example problem. To use this program you should change in *.bat / *.sh files the java path according in your computer -Client/Server application. This application was written using RMI Java. It resolve "access to critical section " example problem. To use this program you should change in*.bat/*.sh files the java path according in your computer
Platform: | Size: 14336 | Author: szymon | Hits:

[Process-ThreadThreadTest

Description: 模拟多进程共享临界资源 1、实现两个进程模拟进入临界区的用户进程,当需要进入临界区时,显示:“进程x请求进入临界区…”,同时向管理进程提出申请;申请返回,表示进入了临界区。在临界区中等待一段随机时间,并显示:“进程x正在临界区…”;当时间结束,显示:“进程x退出临界区…”,同时向管理进程提出退出申请;当申请返回,显示:“进程x已退出临界区。” 2、一个进程作为原语的管理进程,接受其他进程的临界区进入请求:如果允许进入,则设置相应变量,然后返回;如果不允许进入,则进入循环等待,直到允许为止; 3、对临界区的访问应遵循空闲让进、忙则等待、有限等待、让权等待的准则。 4、进程间通信可以采用信号、消息传递、管道或网络通信方式。 -Simulation of multi-process sharing of critical resources 1, the realization of the process of simulation of the two critical areas of the user to enter the process, when to enter the critical zone, showed that: "the process of the request to enter the critical section x ...", at the same time make an application to the management process applied to return, that has entered a critical section. Critical areas in the random wait time, and display: "x is critical process ..." when the end time shows: "the process of x from the critical areas ..." and at the same time to withdraw from the application management process when applied to return, showing: "the process of x have withdrawn from the critical area." 2, a process management as a primitive process, other process requests to enter the critical region: if allowed to enter, then set the appropriate variables, and then return if not allowed to enter, then enter the cycle of waiting until the permit is effected 3, access to cr
Platform: | Size: 12288 | Author: hengdd | 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:

[Windows DevelopCritical_Sections

Description: Critical section. Usefull in multithreading. THis is a small demo of it.
Platform: | Size: 44032 | Author: Paul | Hits:

[Process-ThreadCriticalSecitonThreadSyn

Description: 一个使用临界区对象(CriticalSeciton)实现线程同步的例程,来自于Visual C++范例大全-The use of a critical section object (CriticalSeciton) to achieve thread synchronization routines, from the Visual C++ examples of Daquan
Platform: | Size: 34816 | Author: ladeng | Hits:

[Web ServerDME

Description: Java program will spawn n (distributed) processes Pi, 0 ≤ i < n, each one looping forever. Each loop iteration is a loop interval. In every loop interval Pi does the following: − It sleeps for a random amount of time [3, 4) seconds − It requests entry into its critical section − It enters its critical section where it stays for a random amount of time [1, 2) seconds − It exits its critical section During its execution a process logs all its actions, i.e., − Entering and exiting sleep state − Actions it takes to decide entry into its critical-Java program will spawn n (distributed) processes Pi, 0 ≤ i < n, each one looping forever. Each loop iteration is a loop interval. In every loop interval Pi does the following: − It sleeps for a random amount of time [3, 4) seconds − It requests entry into its critical section − It enters its critical section where it stays for a random amount of time [1, 2) seconds − It exits its critical section During its execution a process logs all its actions, i.e., − Entering and exiting sleep state − Actions it takes to decide entry into its critical
Platform: | Size: 6144 | Author: Araz | Hits:

[AlgorithmTokenringalgo

Description: Token ring algorithm, using the concept of tokens to eliminate the problem of critical section ie preventing deadlock condition.
Platform: | Size: 1024 | Author: dataminer | Hits:

[Windows DevelopCritical-section

Description: 临界区互斥问题!!Critical section mutual exclusion problem-Critical section mutex problem! ! Critical section mutual exclusion problem
Platform: | Size: 20480 | 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:

[Software Engineeringcritical-section

Description: 临界区介绍以及多线程、多进程临界区调度原则、代码示例-The critical section describes scheduling principles, code samples, and multi-threaded, multi-process critical section
Platform: | Size: 9216 | Author: chaoli | Hits:
« 12 3 4 »

CodeBus www.codebus.net