[fpc-pascal] single application instance

Jose Pascual josepascual at almudi.com
Wed Oct 5 13:44:33 CEST 2005


any example of implementation for semaphore in linux which I can use to
know if there is
some instance of my program already running?

> -----Mensaje original-----
> De: fpc-pascal-bounces at lists.freepascal.org 
> [mailto:fpc-pascal-bounces at lists.freepascal.org] En nombre de 
> Matt Emson
> Enviado el: viernes, 23 de septiembre de 2005 18:53
> Para: FPC-Pascal users discussions
> Asunto: Re: [fpc-pascal] single application instance
> 
> 
> > Semaphores <> Mutexes. Semaphores do not always have names 
> and are not 
> > system-wide.
> 
> In my experience, its the other way round. Semaphores are 
> system wide/cross process. Admittedly, they are not always 
> named though.
> 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org 
> http://lists.freepascal.org/mailman/listinfo/fp> c-pascal
> 
> 
> __________ InformaciĆ³n de NOD32, revisiĆ³n 1.1230 
> (20050922) __________
> 
> Este mensaje ha sido analizado con  NOD32 antivirus system 
http://www.nod32.com





More information about the fpc-pascal mailing list