![]() | Logo by McFly (anonymous IP: 216.73.216.104,2527) | |||||||||||||
| ||||||||||||||
Audio (353) Datatype (51) Demo (214) Development (630) Document (24) Driver (103) Emulation (157) Game (1069) Graphics (519) Library (124) Network (246) Office (74) Utility (962) Video (75) Total files: 4601 Full index file Recent index file
Amigans.net Aminet IntuitionBase Hyperion Entertainment A-Eon Amiga Future
Support the site
|
A simple AmigaOS native implementation of POSIX semaphores that can easily be linked into any program that needs them (just add -lpsem to LIBS). So far the following functions are supported by the library: - sem_init() - sem_destroy() - sem_trywait() - sem_wait() - sem_timedwait() - sem_post() - sem_getvalue() Installation is just a matter of opening a CLI and doing: Copy SDK/#? ALL SDK: The complete source code is also included in the archive under a 2-clause BSD license. Changes since the last release: - Added missing cleanup code for the timer request on success in sem_timedwait(). - Rewrote the wait loops and made the code more safe. - sem_getvalue() now returns a negative value if there are programs waiting on the semaphore. - Added a clib2 compile of the static library. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright © 2004-2026 by Björn Hagström All Rights Reserved |