OS4 DepotLogo by Kicko 
(anonymous IP: 3.235.228.219,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 
 Categories

   o Audio (334)
   o Datatype (50)
   o Demo (199)
   o Development (582)
   o Document (21)
   o Driver (97)
   o Emulation (145)
   o Game (952)
   o Graphics (488)
   o Library (108)
   o Network (224)
   o Office (62)
   o Utility (886)
   o Video (65)

Total files: 4213

Full index file. Download
Recent index file. Download




 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Development » Library » Misc » libpsem.lha

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 21
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
 
Images:
 
Videos:
Comments: 0
Snapshots: 0
Videos: 0
Downloads:  (Current version)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
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.


Copyright (c) 2004-2022 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment