Re: [fpc-pascal] Cross-platform single instance

2007-10-03 Thread Luiz Americo Pereira Camara
Luiz Americo Pereira Camara wrote: Vincent Snijders wrote: Have you considered UniqueInstance? http://wiki.lazarus.freepascal.org/UniqueInstance The updated version can be found at https://svn.bountysource.com/luipack/trunk/uniqueinstance I released a new version. Look in

[fpc-pascal] Cross-platform single instance

2007-10-02 Thread Felipe Monteiro de Carvalho
Hello, I was looking into a way to detect if an instance of my application is running. Is there a cross-platform solution on rtl or fcl? It seams that semaphores would be a good solution. I took a look at pthreads and PSemaphore but that is only an alias for unix specific semaphores. If there

Re: [fpc-pascal] Cross-platform single instance

2007-10-02 Thread Vincent Snijders
Felipe Monteiro de Carvalho schreef: Hello, I was looking into a way to detect if an instance of my application is running. Is there a cross-platform solution on rtl or fcl? It seams that semaphores would be a good solution. I took a look at pthreads and PSemaphore but that is only an alias

Re: [fpc-pascal] Cross-platform single instance

2007-10-02 Thread Luiz Americo Pereira Camara
Vincent Snijders wrote: Felipe Monteiro de Carvalho schreef: Hello, I was looking into a way to detect if an instance of my application is running. Is there a cross-platform solution on rtl or fcl? It seams that semaphores would be a good solution. I took a look at pthreads and PSemaphore but

Re: [fpc-pascal] Cross-platform single instance

2007-10-02 Thread Felipe Monteiro de Carvalho
cool, looks pretty good =) Nevertheless, it would still be useful to have a cross-platform interface for semaphores. thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org