From owner-freebsd-hackers Tue Sep 24 8: 5:38 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F9D437B401 for ; Tue, 24 Sep 2002 08:05:37 -0700 (PDT) Received: from mta9.srv.hcvlny.cv.net (mta9.srv.hcvlny.cv.net [167.206.5.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2526143E65 for ; Tue, 24 Sep 2002 08:05:34 -0700 (PDT) (envelope-from avg@icyb.net.ua) Received: from edge.foundation.invalid (ool-182f9083.dyn.optonline.net [24.47.144.131]) by mta9.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 0.9 (built Jul 29 2002)) with ESMTP id <0H2Y008D47795O@mta9.srv.hcvlny.cv.net> for hackers@FreeBSD.org; Tue, 24 Sep 2002 11:04:33 -0400 (EDT) Received: from localhost.foundation.invalid (localhost.foundation.invalid [127.0.0.1]) by edge.foundation.invalid (8.12.3/8.12.3) with ESMTP id g8OF4HCa081114; Tue, 24 Sep 2002 11:04:25 -0400 (EDT envelope-from avg@icyb.net.ua) Date: Tue, 24 Sep 2002 11:04:17 -0400 (EDT) From: Andriy Gapon Subject: Re: libc_r in stable In-reply-to: <3D8B1E91.B95DFC6E@FreeBSD.org> X-X-Sender: avg@edge.foundation.invalid To: eischen@pcnet1.pcnet.com, julian@elischer.org Cc: hackers@FreeBSD.org Message-id: <20020924105755.Y81038-100000@edge.foundation.invalid> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have noticed that it is not uncommon for a multithreaded program that invokes a lot of system calls to get EINTR from a syscall even if no non-default signal handling is installed and no 'real' signals are received. Looks like some syscalls get interrupted by the scheduling signal. In my understanding, this should be something hidden from a user. Is there any way to restart syscalls interrupted by the scheduling signal without returning a libc_r call ? -- Andriy Gapon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message