From owner-freebsd-stable Sun Oct 1 23:52:34 2000 Delivered-To: freebsd-stable@freebsd.org Received: from shark.harmonic.co.il (jupiter.harmonic.co.il [192.116.140.62]) by hub.freebsd.org (Postfix) with ESMTP id C12A237B66D for ; Sun, 1 Oct 2000 23:52:28 -0700 (PDT) Received: from localhost (roman@localhost) by shark.harmonic.co.il (8.9.3/8.9.3) with ESMTP id JAA21596; Mon, 2 Oct 2000 09:52:18 +0300 Date: Mon, 2 Oct 2000 09:52:18 +0300 (IDT) From: Roman Shterenzon To: "Daniel M. Eischen" Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Pthreads saga continues.. In-Reply-To: <39D7DCE6.C907B257@vigrid.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 1 Oct 2000, Daniel M. Eischen wrote: > 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. I'm using a tricky mailer most of the time (not now), so I don't really have control over it. > It works for me under -current (you should try compiling it > with -Wall): It probably warns with -Wall :)) The point is it DOESN'T work under -stable. > bash-2.02$ pthreadtest2 > 134530048: Sending 134529024 signal > 134530048: Sent 134529024 signal > Got a signal > accept: Interrupted system call Yes, I wish that it was the same under -stable .. --Roman Shterenzon, UNIX System Administrator and Consultant [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message