I've written an application that should recognize, if another instance
of the process is already running.
The app should run under linux and windows.
Unfortunately i've developed it under Windows, and used a process mutex
to find out, if another instance is
running.
I've used the "apr_proc_mutex_trylock" to check for other processes.
unfortunately when moving to linux i found out, that this is a
"windows-only"-feature.
Is there any way (or version) to activate the trylock mechanism for unix?
Any hint appreciated.
Hans-Peter