Thanks ;-)
I will do the following:
1 - Add a switch to jsvc to stop the service (doing in C what Henri is doing in his shell script).
2 - Add a switch to jsvc to wait until the controller process reaches its loop by doing the following:
create_tmp_file();
while (!stopping) sleep(60); /* pause() not threadsafe */
remove_tmp_file();
Any comments?
Cheers
Jean-Frederic
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]