Pipe-Sem 1.0
Pipe-Sem 1.0 Ranking & Summary
Pipe-Sem 1.0 description
Pipe-Sem 1.0 is a good utility which might help you a lot in developing ASYNC applications. Many synchronization primitives are available for Unix systems, but any of them expose a pollable interface to the user. In these cases, if the caller execute a down operation on a blocking semaphore, the application will sleep and whole ASYNC loop will starve because of the wait.
To cope with this problem in ASYNC software, the publisher developed a pipe based semaphore implementation, called Pipe-Sem. The implementation is trivially simple and it uses the pipe internal mechanisms to expose a pollable wait interface.
Besides the standard semaphore operations, the function psem_down_fd() can be used to retrieve a files descriptor that can be dropped inside a Unix pollable API like select(2), poll(2) or epoll(2). The caller will have to wait for input events (POLLIN), and when receiving the event itself, the caller should invoke the psem_try_down() function to try to acquire the semaphore.
Please note that receiving an event from the pollable interface, does not mean that we acquired to semaphore, and the function psem_try_down() will have to be called (and tested for zero return code) to correctly complete the down operation.
Pipe-Sem 1.0 Screenshot
Pipe-Sem 1.0 Keywords
Bookmark Pipe-Sem 1.0
Pipe-Sem 1.0 Copyright
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
- Rapid Application Development Library 2.8.3
- Interactive UNIX Tutorial 1.20
- IBiz E-Payment Integrator for Unix 3.3.3022
- Microsoft Windows Services for Unix 3.5
- Interprocess Communication Server(unix) 1.07
- VanDyke ClientPack for Windows and UNIX 6.1
- Apache Beehive for Unix 1.0.2
- Simulation pret immobilier 1.0