From owner-freebsd-stable Sun Oct 1 17:56:13 2000 Delivered-To: freebsd-stable@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 02BC737B66E for ; Sun, 1 Oct 2000 17:56:11 -0700 (PDT) Received: from vigrid.com (pm3-pt79.pcnet.net [206.105.29.153]) by pcnet1.pcnet.com (8.8.7/PCNet) with ESMTP id UAA01860; Sun, 1 Oct 2000 20:55:44 -0400 (EDT) Message-ID: <39D7DCE6.C907B257@vigrid.com> Date: Sun, 01 Oct 2000 20:55:02 -0400 From: "Daniel M. Eischen" X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Roman Shterenzon Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Pthreads saga continues.. References: <970438631.39d7b7e76d963@webmail.harmonic.co.il> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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