Le 08/02/2012 19:56, waldo kitty a écrit :
On 2/8/2012 07:52, Antonio Fortuny wrote:
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 ?
the old school simple solution is to just use a file... no need to get
fancy... if the file exists or not is all you need to worry about :)
Read my remark just above.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus