From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 31 01:52:37 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 7F5EB16A41F for ; Wed, 31 Aug 2005 01:52:37 +0000 (GMT) (envelope-from fetrovsky@yahoo.com) Received: from web53901.mail.yahoo.com (web53901.mail.yahoo.com [206.190.36.211]) by mx1.FreeBSD.org (Postfix) with SMTP id E9C1C43D48 for ; Wed, 31 Aug 2005 01:52:36 +0000 (GMT) (envelope-from fetrovsky@yahoo.com) Received: (qmail 53067 invoked by uid 60001); 31 Aug 2005 01:52:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=vUgJS2xZBXfjBRMTNGBMI0IduxnPkcgMzcmeAbhi798nwBS/1fi29m/ohUbcDqWRKF2POaqkTWxYBfbaU3iKclGYBLX6ELlzP6hhX52WuASJ01jPyAFCwS5cDBYZaORABieibKmJRbxwURgbOH9mzHXiq0pM1856UkwXtdrCLOA= ; Message-ID: <20050831015236.53063.qmail@web53901.mail.yahoo.com> Received: from [128.200.38.50] by web53901.mail.yahoo.com via HTTP; Tue, 30 Aug 2005 18:52:36 PDT Date: Tue, 30 Aug 2005 18:52:36 -0700 (PDT) From: Daniel Valencia To: freebsd-hackers@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: strange behaviour with pthread_cond_wait() X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2005 01:52:37 -0000 Hello I just had to lock the mutex before waiting on the condition... my problem is solved now. Thank you very much for the tip. Daniel __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com