From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 1C03F3858C33; Mon, 22 Jan 2024 14:54:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1C03F3858C33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1705935281; bh=bEtfoVj4ueWKzzbL5FX6CsKf8lGnEIytWGqyL9gtbu8=; h=Date:From:To:Subject:Reply-To:References:In-Reply-To:From; b=ZxeWlH6GPnUVLwrH6JH/VuepV23q6lwHkTyMhXFMX9unMCTN9LScHOwbWcNcwPhmF TQYswaLXF4N84hSYXo80Iz8i/t3ctA/wG1ayyV5AYGptFlOxcHa/z5K9M/m4/ivD5k Ndsf2VcV5/hiUeKAHDyqYPL99QuqA7zSY7lpobF0= Received: by calimero.vinschen.de (Postfix, from userid 500) id 14CC8A80733; Mon, 22 Jan 2024 15:54:39 +0100 (CET) Date: Mon, 22 Jan 2024 15:54:39 +0100 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Possiblly bug of cygwin1.dll Message-ID: Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20240120141349.cde31e62177a0405b0ee9934@nifty.ne.jp> <87v87ov03x.fsf@Gerda.invalid> <20240120212427.1e69fd3655ece73ecd508def@nifty.ne.jp> <20240121201051.795a4405576a97ab8729e273@nifty.ne.jp> <20240122123023.b8eaac0e50d1e8856f44a115@nifty.ne.jp> <20240122201602.0a172f5965821f6e8d6afb96@nifty.ne.jp> <877ck1ilq7.fsf@> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <877ck1ilq7.fsf@> List-Id: On Jan 22 13:41, ASSI via Cygwin wrote: > Corinna Vinschen via Cygwin writes: > > However, I don't find this in the standards. pthread_once is neither > > one of the required cancellation points, nor one of the optional > > cancellation points. > > The initializer can be cancellable per POSIX, though: > > "The pthread_once() function is not a cancellation point. However, if > init_routine is a cancellation point and is canceled, the effect on > once_control shall be as if pthread_once() was never called." I didn't test that, but that should be automatically correct, the way cancellation works in Cygwin. Corinna