apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans-Peter Weidinger <hans-pe...@hp-weidinger.at>
Subject apr_proc_trylock for linux
Date Mon, 15 May 2006 12:56:46 GMT
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


Mime
View raw message