I'm not entirely sure how this is working... if you fork, the new process will have its own output buffers and all that. If you call send_to_char a bunch of times then immediately exit, that buffered output will never be flushed. Is there something you did that I'm missing?
--Palrich.

----- Original Message ----- From: "Valnir" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, March 08, 2005 11:44 AM
Subject: Re: Pausing a Loop.


This was exactly what I needed (including the location).

Thanks to everyone that provided input here.

- Valnir

----- Original Message ----- From: "Tiikuli" <[EMAIL PROTECTED]>
To: "Valnir" <[EMAIL PROTECTED]>
Sent: Tuesday, March 08, 2005 12:40 PM
Subject: Re: Pausing a Loop.


Valnir wrote:
Ok, so the processes are being killed, kind of.... I am ending up with the processes listed as <defunct>.

but they still have a lot of CPU % listed for a period of time. Will they eventually go away, or am I doing something wrong?

The stay as "zombie" processes unless you've issued

signal(SIGCHLD,SIG_IGN);

before starting game_loop();

--
ROM mailing list
[email protected]
http://www.rom.org/cgi-bin/mailman/listinfo/rom

Reply via email to