From owner-freebsd-threads@FreeBSD.ORG Sun Apr 27 04:53:25 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F167637B401; Sun, 27 Apr 2003 04:53:18 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3EDE43FBF; Sun, 27 Apr 2003 04:53:17 -0700 (PDT) (envelope-from davidxu@freebsd.org) Received: from tiger (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with SMTP id h3RBrGUp011056; Sun, 27 Apr 2003 04:53:17 -0700 (PDT) (envelope-from davidxu@freebsd.org) Message-ID: <000e01c30cb4$30289b40$0701a8c0@tiger> From: "David Xu" To: "Daniel Eischen" References: <006501c30c5f$77fe5950$0701a8c0@tiger> Date: Sun, 27 Apr 2003 19:57:32 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 cc: freebsd-threads@freebsd.org Subject: pthread_join X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David Xu List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Apr 2003 11:53:25 -0000 I found I can not get the following race fixed: Thread A is a joiner of thread B, thread C calls pthread_cancel on A, because of multipile scheduler locks, I can not get the race fixed.=20 Is it possible we just use a single scheduler lock to simplify things a = bit? David