Hi!

I want to check if there's other instances of a GTK program running.

I'm doing a kind of a lock file, where i keep the process pid, and at the 
beginning of the program, i check i the file exist and if the pid is a valid 
process.

Is this the best way to do it?
Are there any better method, like specific gtk or glib functions?

Thanks


-- 
Regards,

Jo�o Rainha
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to