On Wednesday 09 June 2004 19:18, Shachar Shemesh wrote:
> Maxim Kovgan wrote:
> >man pthread_create
> >man pthread_mutex_init
> Why would threads and mutexes help me at all?

They won't, wrong direction. Instead, why blocking SIGCHLD
and getting to possible critical races? An simpler alternative
seems to set up signal handlers for SIGALRM and SIGCHLD
(before forking), then fire alarm(2) (or ualarm(2)) and simply
sigprocmask(2) for one of them to happen?

-- 
Oron Peled                             Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]                  http://www.actcom.co.il/~oron

Can you sum up plan 9 in layman's terms?
It does everything Unix does only less reliably - kt


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to