Audio (333) Datatype (50) Demo (199) Development (580) Document (21) Driver (96) Emulation (146) Game (948) Graphics (488) Library (108) Network (224) Office (61) Utility (880) Video (65)
Total files: 4199
Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
|
libpsem | Description: | POSIX semaphore implementation | Download: | libpsem.lha (TIPS: Use the right click menu if your browser takes you back here all the time) | Size: | 83kb | Date: | 15 Jan 2021 | Author: | Fredrik Wikström | Submitter: | Fredrik Wikström | Email: | fredrik/a500 org | Category: | development/library/misc | License: | BSD | Distribute: | yes | Min OS Version: | 4.0 | FileID: | 11549 | | | Comments: | 0 | Snapshots: | 0 | Videos: | 0 | Downloads: | 57 (Current version) | | 57 (Accumulated) | Votes: | 5 (0/0) (30 days/7 days) | |
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.
|