Re: Check for instances running

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>This should be a Unix question, I don't know how to do this, but maybe
>you can use Mutex to do this.
>>man mutex
>will give you detail information.

% man mutex
No manual entry for mutex


if you want the man page for pthread_mutexes, try
pthread_mutex_init. but that won't help since some implementations of
pthreads don't support cross-process mutexes.

if you want something "better" than a lock file, use a semaphore,
which is a standardized (though very cryptically documented) IPC
system for unix-like OS's. see man semop.

--p
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux