[Lazarus] semaphores

Antonio Fortuny a.fortuny at sitasoftware.lu
Wed Feb 8 13:52:31 CET 2012


Hi all.

I need to implement a system wide locking system in all WIn32, Win64, 
Linux32 and Linux64. Therefore I need some king of named locking objects.
For Windows I can use mutexes. For Linex I can only use sem_t structures 
managed by a series of functions in pthrlinux.inc but they are unnamed 
which means that they are only usable inside a multi-treaded process and 
not system wide.
Something else I miss ?

Antonio.







More information about the Lazarus mailing list