[EMAIL PROTECTED] wrote:
> The problem is with the signal handling function. The function we are
> using right now is insufficient. We need to have that function make sure
> that ensure that all other threads have died. Currently, it just
> basically exits, which is wrong.
>
Oops, I just replied to otherBill with the current code before I saw this note.
What convenient way do you suggest for the signal function to know about the
list of threads that are supposed to exist. I am pretty new to using pthread
stuff, but I didn't see anything in the docs to suggest a way to wait for all
kids and I didn't see where the list if kid tids was being kept. The child_main
seems to be the only place where that info resides (briefly until overwritten).
If you have a better suggestion than the code I showed otherBill, please let
me know. I am still testing this code (it takes a while for things to go south).
Thanks,
--
Paul J. Reder
-----------------------------------------------------------
"The strength of the Constitution lies entirely in the determination of each
citizen to defend it. Only if every single citizen feels duty bound to do
his share in this defense are the constitutional rights secure."
-- Albert Einstein