[cogswell@sisters.cs.uoregon.edu writes:]
>...
>void go( int cnt, int id, pid_t him )
>{
> if ( id )
> sleep( 1 );
You should try:
if (id) {
for (;;) {
sleep(10000);
}
}
I believe the sleep is being interrupted after the first signal and then
he's dropping down into the other side of the code.
I just tried something like this and the stack does appear to be reset
correctly on completion of each event handler.
Regards,
Andy
Received on Wed Nov 9 09:15:06 1994
This archive was generated by hypermail 2.1.8 : Thu Sep 22 2005 - 15:12:10 PDT