From owner-freebsd-bugs Fri Jan 29 07:08:49 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA25065 for freebsd-bugs-outgoing; Fri, 29 Jan 1999 07:08:49 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from itp.ac.ru (itp.ac.ru [193.233.32.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA25034 for ; Fri, 29 Jan 1999 07:08:19 -0800 (PST) (envelope-from ks@itp.ac.ru) Received: from speecart.chg.ru (speecart.chg.ru [193.233.46.2]) by itp.ac.ru (8.9.1/8.9.1) with ESMTP id SAA09449 for ; Fri, 29 Jan 1999 18:11:53 +0300 (MSK) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Fri, 29 Jan 1999 18:08:49 +0300 (MSK) Organization: Landau Institute for Theoretical Physics From: "Sergey S. Kosyakov" To: freebsd-bugs@FreeBSD.ORG Subject: select and pthreads Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I think there is a bug in select(2) when it is running in mutithreaded environment in FreeBSD-3.0-RELEASE. When there are a number of concurrent threads with select() waiting on two FDs, where first is the TCP socket, and the second is the "read end" of the pipe() (this pipe is the same for all threads), than those selects hang forever. Such select behavior prevents from proper operations e.g. Xerox ILU in multy-thread mode on FreeBSD. --- ---------------------------------- Sergey Kosyakov Laboratory of Distributed Computing Department of High-Performance Computing and Applied Network Research Landau Institute for Theoretical Physics E-Mail: ks@itp.ac.ru Date: 29-Jan-99 Time: 17:58:50 ---------------------------------- --- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message