2006/9/28, Bogusław Brandys <[EMAIL PROTECTED]>:
Graeme Geldenhuys wrote:
Well.The main problem with linux in this particular case is that it's
hard to find such global resource which is:
- atomic (no other process can get it in the same time like file lock or
system-wide mutex)
- automatically released when application exit or crash or being killed

Maybe unix sockets ?
Someone with deeper linux knowledge ?

Just a simple question: would that be possible to simply query the
list of actual processes that are running? 'ps ax' for example; then
you can find your application?

I'm sure that there are softwares that have such mechanism... and
maybe by simply looking at how they do it.

Regards.

--
Alexandre Leclerc

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to