delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/01/22/09:55:40

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: <Za6BrzVGTP__oQA3@calimero.vinschen.de>
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>
<Za40iEPcedfBSt5n AT calimero DOT vinschen DOT de>
<Za48HKcCwgYSLQdY AT calimero DOT vinschen DOT de>
<20240122201602 DOT 0a172f5965821f6e8d6afb96 AT nifty DOT ne DOT jp>
<Za5WY_MGIqEk9qS3 AT calimero DOT vinschen DOT de> <877ck1ilq7.fsf@>
MIME-Version: 1.0
In-Reply-To: <877ck1ilq7.fsf@>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019