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

Search list

[Other Embeded programeventflag

Description: T-Ker测试synchronization_communication\semaphore部分的tk_cre_sem,tk_del_sem, tk_sig_sem, tk_wai_sem, tk_ref_sem在移植的uT-Engine上运行是否正常。 api的返回值正确与否,在ads上设断点观察,同时用Lpc2104上的LED显示(如果正确,则程序中设定的LED就闪亮)nel中的flag小实验程序-T- Ker test synchronization_communication \ tk_cre_sem part of the semaphore, tk_del_sem. tk_sig_sem, tk_wai_sem. tk_ref_sem transplantation in the UT-Engine running normal. Api return to the correct value, based on the ads breakpoint observation, Lpc2104 using the LED display (if correct, procedures were set on the flashing LED) nel flag of the small experimental procedure
Platform: | Size: 45056 | Author: 主峰 | Hits:

[OS DevelopDZXZWT

Description: 在windows 98/2000下,创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制实现读者优先的读者——写入者问题-the windows 98/2000, the process of creating a console, this process contains n threads. Use this thread to n n readers who write. Thread each of the corresponding test data on documentation requirements for reading and writing operations. Semaphore mechanisms used to achieve readers priority readers-- into the problem
Platform: | Size: 4096 | Author: 波波 | Hits:

[Process-Threadprodcomsem

Description: 用GCC编写的C语言程序。利用Semaphore实现经典producer\consumer问题-prepared by the GCC using C language program. Semaphore achieve using classical producer \ consumer issues
Platform: | Size: 1024 | Author: ming | Hits:

[ICQ-IM-Chatsocket

Description: 这是一个用阻塞方式的socket 做的聊天程序,使用了多线程和信号量技术-This is a way of using blocking socket do chat program using multi-threading technology and Semaphore
Platform: | Size: 74752 | Author: aa | Hits:

[DocumentsLinuxknowledge

Description: linux内核注释 包括内核体系结构讲解 系统初始化 调用 信号量 中断 system_v_ipc讲解 -linux kernel including the kernel architecture of the Notes on the system call semaphore interrupt initialization on system_v_ipc
Platform: | Size: 2641920 | Author: 刘斌 | Hits:

[Linux-Unixlinux_pc

Description: 操作系统作业:由多进程实现生产者和消费者的同步。由于不是多线程,因此通过共享内存实现。互斥访问通过信号量实现。-Operating system operations: the process by a number of producers and consumers to achieve synchronization. Rather than as a result of multi-threaded, so to achieve through the shared memory. Exclusive access to achieve through the semaphore.
Platform: | Size: 6144 | Author: liyali | Hits:

[OS Developsem_shm_test

Description: 这个代码特点是由System V的IPC对象信号量和共享内存模拟了多进程间的同步手段--P,V操作,验证了进程间的同步互斥问题 -This code is characterized by the System V semaphore object of the IPC and shared memory to simulate the multi-process synchronization between the means- P, V operation, to verify the process of synchronization between Mutex problem
Platform: | Size: 1024 | Author: 钟伟 | Hits:

[Linux-Unix09876

Description: 用以演示他提出的信号量机制。本作业要求设计在同一个进程地址空间内执行的两个线程。生产者线程生产物品,然后将物品放置在一个空缓冲区中供消费者线程消费。-For the presentation he made semaphore mechanism. Operational requirements of the design process in the same address space to implement the two threads. Thread the production of goods producers, and then the article should be placed in an empty buffer for consumers thread consumption.
Platform: | Size: 1024 | Author: 刘军 | Hits:

[Linux-Unix54876

Description: 用以演示他提出的信号量机制。本作业要求设计在同一个进程地址空间内执行的两个线程。生产者线程生产物品,然后将物品放置在一个空缓冲区中供消费者线程消费。-For the presentation he made semaphore mechanism. Operational requirements of the design process in the same address space to implement the two threads. Thread the production of goods producers, and then the article should be placed in an empty buffer for consumers thread consumption.
Platform: | Size: 4096 | Author: 刘军 | Hits:

[Process-ThreadPHI

Description: 哲学家就餐问题,显示线程的关系,采用信号量产生互斥的功能-Dining philosophers problem, show the relationship between threads, using semaphore have mutually exclusive features
Platform: | Size: 11264 | Author: 孟小磊 | 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:

[OS Develop1

Description: 用多进程同步方法解决生产者-消费者问题 设计目的:通过研究Linux 的进程机制和信号量实现生产者消费者问题的并发控制. 说明:有界缓冲区内设有20个存储单元,放入/取出的数据项设定为1-20这20个整型数. 设计要求:(1)每个生产者和消费者对有界缓冲区进行操作后,即时显示有界缓冲区的全部内容,当前指针位置和生产者/消费者县城的标识符.(2)生产者和消费者各有两个以上.(3)多个生产者或多个消费者之间须有共享对缓冲区进行操作的函数代码. 提示:(1) 有界缓冲区可用数组实现. -Synchronous multi-process solutions to producers- designed to consumer issues: the process by studying the mechanisms and Linux Semaphore producers to achieve concurrency control on consumer issues. Note: There are bounded buffer 20 storage units, Add/Remove the data item is set to 1-20 this 20 integer. design requirements: (1) Each producers and consumers to have the sector to operate the buffer zone immediately after showing the entire contents of the buffer zone sector, the current pointer location and producer/consumer identifier county. (2) producers and consumers have more than two. (3) a number of producers or more consumers must be shared between the operation of the buffer zone a function of the code. NOTE: (1) bounded buffer array can be used to achieve.
Platform: | Size: 2048 | Author: shanwei | Hits:

[Process-Threadss

Description: 根据生产者—消费者问题的相关原理,用C编程创建两组线程,分别模拟生产者和消费者,为了确保两组线程之间的同步和互斥,必须设置相关的信号量让两组线程有序的运行。-According to the producer- consumer issues related to theory, with C programming to create two threads, respectively, simulated producers and consumers, in order to ensure synchronization between the two groups of threads and the mutex must be the provision of the relevant semaphore to allow two threads running in an orderly manner.
Platform: | Size: 5120 | Author: 张侃 | Hits:

[OtherCOS-II

Description: μC/OS从1992年开始为人们熟悉,到现在已经发展为μC/OS-II。ΜC/OS-II最多支持56个任务,其内核为占先式,总是执行就绪态的优先级最高的任务,并支持Semaphore(信号量)、Mailbox(邮箱)、Message Queue(消息队列)等多种常用的进程间通信机制。与大多商用RTOS不同的是,μC/OS-II公开所有的源代码,并可以免费获得,对商业应用收取少量License费用。-μC/OS since 1992 to people familiar with until now has been developed for μC/OS-II. ΜC/OS-II supports up to 56 tasks, the kernel for Preemptive always ready state to implement the highest priority tasks, and to support the Semaphore (Semaphore), Mailbox (mail), Message Queue (Message Queue), etc. a wide range of commonly used interprocess communication mechanism. Most of the commercial RTOS and the difference is, μC/OS-II open all the source code, and can be obtained free of charge a small business applications License fees.
Platform: | Size: 8192 | Author: ttjj120 | 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:

[OS programexample-4

Description: This example demonstrates the use of Semaphores, Threads, and Timers. Three "Filler" threads are created that loop waiting for a while and then adding a value to the end of a circular buffer. The main thread removes words from the buffer and prints them.
Platform: | Size: 2048 | Author: 丽香 | Hits:

[Linux-UnixProcessSimulation

Description: 利用信号量实现对共享,通过不同的命令行参数实现信号量的创建,删除,P操作,V操作和修改信号量的存取权限-Realize the use of semaphores for sharing, through a variety of command-line parameters realize semaphore creation, deletion, P operation, V to operate and modify access to semaphore
Platform: | Size: 3072 | Author: Hong | Hits:

[VxWorkssemaphores

Description: 嵌入式操作系统 VxWorks 开发环境tornado中信号量的应用,如创建、释放、销毁等。-VxWorks embedded operating system development environment tornado in semaphore applications, such as the creation, release, destruction.
Platform: | Size: 48128 | Author: 小雪 | Hits:

[Linux-Unixlinux_c_chat

Description:
Platform: | Size: 5120 | Author: 吴兴圆 | Hits:

[Other Embeded programHDTVOS20

Description: OS20系统的具体介绍已经信号量的介绍系统开发有帮助-OS20 system specific introduction of the introduction has semaphore system development have helped
Platform: | Size: 106496 | Author: 王瑞 | Hits:
« 1 2 3 4 5 6 78 9 10 11 12 ... 28 »

CodeBus www.codebus.net