Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Oct 2000 20:55:02 -0400
From:      "Daniel M. Eischen" <eischen@vigrid.com>
To:        Roman Shterenzon <roman@harmonic.co.il>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Pthreads saga continues..
Message-ID:  <39D7DCE6.C907B257@vigrid.com>
References:  <970438631.39d7b7e76d963@webmail.harmonic.co.il>

next in thread | previous in thread | raw e-mail | index | archive | help
Roman Shterenzon wrote:
> 
> Good day,
> Isn't the main thread should break out of accept when it receives signal from
> the other thread?
> Am I missing something?

Please don't attach such short programs as anything other than
text.

It works for me under -current (you should try compiling it
with -Wall):

bash-2.02$ pthreadtest2
134530048: Sending 134529024 signal
134530048: Sent 134529024 signal
Got a signal
accept: Interrupted system call

-- 
Dan Eischen


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39D7DCE6.C907B257>