For a lot of programs, such as Gaim, when you run the binary if there is already a instance of the program open currently opened program will execute some kind of command and a new task will not be started.
Does Qt support a cross platform way to do this or do I need to use some kind of platform specific function to read the process list (or something to that extent).


Reply With Quote



Because it's easier to write and maintain.... Besides it allows real platform independence without bringing extra dependencies. Another interest is that deadlocks are very unlikely to occur and easy to overcome. For instance if your want to use system mutex (under windows or linux) to handle instance limiting you will face two problems :

Bookmarks