On Sat, 07 Jun 2008, Aaron Mavrinac wrote:
> ---
>  tpserver/main.cpp     |   84
> ++++++++++++++++++++++++++++++++++++++++++++++--- tpserver/settings.cpp |  
>  4 ++
>  2 files changed, 83 insertions(+), 5 deletions(-)


--debug/-d to disable.

Could you add that to the usage output in Settings::printHelp()


Also, could you explain this bit.

+    else if(pid > 0){
+        alarm(2);
+        pause();
+        exit(1);
+    }

which I know is run by the parent process (connected to the terminal), but why 
alarm, pause then exit. (why not just exit?)

and this bit, why kill the parent?

+   kill(parent, SIGUSR1);


Later
Lee

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel

Reply via email to