From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 5 17:38:49 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1979322C for ; Fri, 5 Jun 2015 17:38:49 +0000 (UTC) (envelope-from S.Kuzminsky@f5.com) Received: from mail.f5.com (mail.f5.com [208.85.209.139]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.f5.com", Issuer "Entrust Certification Authority - L1C" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DEC4E1DB5 for ; Fri, 5 Jun 2015 17:38:48 +0000 (UTC) (envelope-from S.Kuzminsky@f5.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=f5.com; i=@f5.com; q=dns/txt; s=seattle; t=1433525928; x=1465061928; h=from:to:subject:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=CIwizfgDhAh+dK+yH5DXoj4zbrABUgboKO9weWpja1c=; b=Qw1OrTtvGIOa/IXsQTPCU9e2fxZzGf6nU/lt6qeGIZ6RL8KfjbU61Sr2 Ahms7ILrMo8EEe+tQQO1lI8NUtTbRBbjQ16KpzZwHkZIwTN8h1Q6Wdl8z ThPcDiToZcyq6oY3i/vVgHt+7RxzVVHYaLnI+KaZ1W2yj2wDTB2Q66Pw9 o=; X-IronPort-AV: E=Sophos;i="5.13,560,1427760000"; d="scan'208";a="165182843" X-IPAS-Result: A2C6BACh3XFV/+sKqMBbg2RSDAbAR4V3AoF/AQEBAQEBgQuEIwEBAwE6TwIBCA4oECERJQIEARKIGAMKFdZnDYUfAQEBAQEFAQEBAQEBAQEWBItDgk2CQIQtBZdehQmSK4cJhBtvgUaBAQEBAQ Received: from oracle-apps.f5net.com (HELO exchmail.f5net.com) ([192.168.10.235]) by mail.f5.com with ESMTP/TLS/AES256-SHA; 05 Jun 2015 17:38:48 +0000 Received: from SEAEXCHMBX01.olympus.F5Net.com (192.168.15.223) by seaexchmbx01.olympus.F5Net.com (192.168.15.223) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Fri, 5 Jun 2015 10:38:48 -0700 Received: from SEAEXCHMBX01.olympus.F5Net.com ([fe80::143c:7597:6ad7:ce75]) by seaexchmbx01.olympus.F5Net.com ([fe80::143c:7597:6ad7:ce75%13]) with mapi id 15.00.1044.021; Fri, 5 Jun 2015 10:38:48 -0700 From: Sebastian Kuzminsky To: Andriy Voskoboinyk , "freebsd-hackers@freebsd.org" , Sebastian Kuzminsky Subject: Re: Bug in FreeBSD 10.1's pthread barrier implementation? Thread-Topic: Bug in FreeBSD 10.1's pthread barrier implementation? Thread-Index: AQHQn7PJC5hZrU3GxUi463RFdcLO+Z2eomcA//+b6IA= Date: Fri, 5 Jun 2015 17:38:47 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [192.168.15.239] Content-Type: text/plain; charset="us-ascii" Content-ID: <52572F81F4EB374D84B85AC0C14DCFDE@F5.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2015 17:38:49 -0000 On 6/5/15, 11:37 AM, "Andriy Voskoboinyk" wrote: >> I'm running in to a situation where pthread_barrier_t is not completely >>=20 >> initialized, and later pthread_barrier_destroy() fails. >> >> The attached patch (against FreeBSD 10.1) fixes the issue for me. >> >> -- >> Sebastian Kuzminsky > >I think it was already fixed in 10-STABLE: >https://svnweb.freebsd.org/base?view=3Drevision&revision=3D278313 Heh, yep! I should have checked there first. --=20 Sebastian Kuzminsky