Creating a lock file (say, in /tmp) is a common approach. On launch, check to see if the file already exists. If it does, exit. Otherwise, create it and continue. This can lead to problems if your app ...
I'm having a devil of a time finding documentation on std::tr1::function. So, basically I have a situation where I have used boost::bind to bind a method on an object and that object instance into a ...