From owner-p4-projects@FreeBSD.ORG Wed May 9 18:31:45 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 8742916A409; Wed, 9 May 2007 18:31:45 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5DC2A16A407 for ; Wed, 9 May 2007 18:31:45 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id 1573313C455 for ; Wed, 9 May 2007 18:31:44 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: by an-out-0708.google.com with SMTP id d23so68533and for ; Wed, 09 May 2007 11:31:44 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PpIyNaUIoTgANkYc7sBJPRYO9F6GksuoJbfTgvCe1O51vP6qm7072vQstzWmq8DR2/Rl8uxIDdvfefBZYNfKMVUY+vVxYK8W86WBVmT6/f/ECioUgRCXtFeHDgoplSSmlLKFvOK0orZSDWnV+nuae75HSywstbnpqEIHLq+mH6A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=I59L9blT1aMYaDiIUeZQk20K0QJrUIiqaGbt38JJQrJ0OLEqPMkeqogmMfzemGqLxmIx8q+IjaQLSpIzAaKQdKAlyA7W1cgearkwLI2Y95BIRTIVflWQvsqSE12Pr0Owu0X5iKb+CRu/tWx/ZRXO8pEQ4snL8l4tJs2k1iRQhvc= Received: by 10.101.66.11 with SMTP id t11mr569791ank.1178735504396; Wed, 09 May 2007 11:31:44 -0700 (PDT) Received: by 10.100.93.15 with HTTP; Wed, 9 May 2007 11:31:44 -0700 (PDT) Message-ID: <9bbcef730705091131h35545a99pb5e1f6782c95e2dc@mail.gmail.com> Date: Wed, 9 May 2007 20:31:44 +0200 From: "Ivan Voras" To: "Garrett Cooper" In-Reply-To: <4641F37D.50808@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200705082229.l48MTrbh069129@repoman.freebsd.org> <20070509070626.GA41419@freebsd.org> <4641818B.4030507@FreeBSD.org> <20070509103404.D71759@fledge.watson.org> <464199D9.7020908@shapeshifter.se> <9bbcef730705090710h653dc15bjb7a1159484c1c48b@mail.gmail.com> <4641E19F.80809@shapeshifter.se> <4641F37D.50808@gmail.com> Cc: Perforce Change Reviews , Fredrik Lindberg Subject: Re: PERFORCE change 119527 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2007 18:31:45 -0000 On 09/05/07, Garrett Cooper wrote: > It may work with programs under normal conditions but are the queues > guaranteed to work with thread sychronization and other non-simple > conditions? I'd think that the FreeBSD queue is closer to that. No, they don't have any support for thread safety - they are intended to be used with external locks if this is an issue. (at least the FreeBSD ones - haven't tried it on other *BSD implementations). > Furthermore, it's a requirement made by style(9) to use methods that > aren't rolled by the implementor :). +1