X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2525C3858287 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1705935338; bh=4/qSSlyFojZ4FJou8zP8UjW94b533BaecLq/Mn2NVJs=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=qQCqIfzOmVbSg7ZlNKeI3+hpkPXC4ySEraluL9A+Kbw7gU9Tmvjlmuo8jubIbMDIs wKNhp6EghjQ5AaGXOyo6wTI2/CINq5aOzLQIBJOyRN6rzGGEZNwyCf+UpHfHjMbA9B YWajUS/mVVJ+GR1bC2CiR+Zekvp9iHdKKWcbAj1c= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1C03F3858C33 Date: Mon, 22 Jan 2024 15:54:39 +0100 To: cygwin AT cygwin DOT com Subject: Re: Possiblly bug of cygwin1.dll Message-ID: Mail-Followup-To: cygwin AT cygwin DOT com References: <20240120141349 DOT cde31e62177a0405b0ee9934 AT nifty DOT ne DOT jp> <87v87ov03x DOT fsf AT Gerda DOT invalid> <20240120212427 DOT 1e69fd3655ece73ecd508def AT nifty DOT ne DOT jp> <20240121201051 DOT 795a4405576a97ab8729e273 AT nifty DOT ne DOT jp> <20240122123023 DOT b8eaac0e50d1e8856f44a115 AT nifty DOT ne DOT jp> <20240122201602 DOT 0a172f5965821f6e8d6afb96 AT nifty DOT ne DOT jp> <877ck1ilq7.fsf@> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <877ck1ilq7.fsf@> X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple