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

Search list

[OS Developproducer-consumer

Description: 用信号量解决生产者消费者问题,简捷易懂!-Semaphore producers with consumers to solve the problem, simple and understandable!
Platform: | Size: 1024 | Author: 王春林 | 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:

[Email Clientwsmtp.tar

Description: 测试LInix环境中的信号量方法的使用以及应用,运用的是gcc的开发以及编译环境,这个代码简洁好用。-Test environment LInix Semaphore methods and applications, using the gcc compiler development and the environment, simple and easy to use this code.
Platform: | Size: 3072 | Author: forbin | Hits:

[OS Developproducder

Description: C++语言实现生产者消费者问题 生产者-消费者问题是一个经典的进程同步问题,该问题最早由Dijkstra提出,用以演示他提出的信号量机制。-C++ language to achieve the producer consumer problem producers- consumers are a classic problem of process synchronization problem, the problem was first proposed by Dijkstra proposed, for the demonstration of his semaphore mechanism.
Platform: | Size: 4096 | Author: helen | 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:

[Process-ThreadSemaphore

Description: this a Semaphore Test program. Code is simple but easy to learn.-this is a Semaphore Test program. Code is simple but easy to learn.
Platform: | Size: 1219584 | Author: metlbard | Hits:

[VHDL-FPGA-VerilogSemafor3.0

Description: a semaphore (light changer - red, yellow and green) application using VHDL platform-a semaphore (light changer- red, yellow and green) application using VHDL platform
Platform: | Size: 35840 | Author: theo | Hits:

[Windows Developtime_MultiThread_Semaphore

Description: 多媒体定时器和多线程信号量的演示小程序,演示了多媒体定时器的用法和多线程semaphore的用法-And multi-threaded multimedia timer semaphore demonstration applets, demonstrating the usage of multimedia timer and semaphore usage of multi-threaded
Platform: | Size: 15360 | Author: toby | Hits:

[Linux-Unixipc

Description: Linux IPC (message queue, pipe, sharememory, semaphore, signal and socket) examples
Platform: | Size: 718848 | Author: Ricky | Hits:

[uCOSuCOS

Description: uCOS课件 ppt课件 介绍了操作系统基础 uCOS基础及任务同步 信号量 内存分配 uCOS移植-uCOS Courseware ppt courseware uCOS introduced based on the basis of the operating system and task synchronization semaphore memory allocation uCOS transplantation
Platform: | Size: 12283904 | Author: 深空 | Hits:

[OS programSemaphore

Description: 信号量的类封装,适合C++开发,通过此类,能够直接对信号量进行创建、关闭等操作开发。-Semaphore class package for C++ development, through such, can be carried out directly on the semaphore creation, closure, and so operate the development.
Platform: | Size: 3072 | Author: zifangz | 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:

[CSharpSemaphore

Description: A code for understanding Semaphore in C#
Platform: | Size: 1024 | Author: sha | Hits:

[Windows DevelopEX6_SEMAPHORE

Description: A simple program for implementing the SEMAPHORE in Linux/UNIX Environment
Platform: | Size: 13312 | Author: Prabha | Hits:

[Windows DevelopSemaphore

Description: Semaphore in operating system how the process can switch
Platform: | Size: 2048 | Author: hamid | Hits:

[Linux-UnixThread_Semaphore

Description: pthread.h semaphore.h pthread_mutex_t,PTHREAD_MUTEX_INITIALIZER, sem_t semaphore
Platform: | Size: 1024 | Author: mwmacleod | Hits:

[JSP/Javasemaphore

Description: 带栅栏的信号量测试,共有四个java文件,在testbarirr中测试-The amount of test signals with the fence, a total of four java files, testbarirr test
Platform: | Size: 3072 | Author: 李宁 | Hits:

[Process-Threadsemaphore

Description: linux下邮箱方式进行进程通信的代码和实验报告,用P.V原语实现通信中的同步问题。运用生产者与消费者模型设计实现一个简单的信箱。-approach to the process under linux mail communications code and test reports, using PV primitives to achieve communication in the synchronization problem. The use of producer and consumer model design to achieve a simple mailbox.
Platform: | Size: 14336 | Author: yangdingda | Hits:
« 1 2 34 5 6 7 8 9 10 ... 28 »

CodeBus www.codebus.net