From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29720 invoked from network); 17 Jul 2020 06:11:23 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 17 Jul 2020 06:11:23 -0000 Received: (qmail 19477 invoked by uid 550); 17 Jul 2020 06:11:18 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 19457 invoked from network); 17 Jul 2020 06:11:18 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594966266; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hnBw/fzAwy43POl8Wrq5cwQ++7Ic68YHAEnydihnJII=; b=gRHHidGSmYKTrcsU9UiwohhX3Hxp3bUgbiwDb/rLI5KcvxyTEpf/vDI2Cfd/qaiwKyYMp5 oavVs7VlM1tiuFHYj9VUn6hT7tFaCk1K2O9tiTxNodkqsboEQZqUGCWEoO1HxKp5+/18CZ tggFGeHspufifchS8YYk/fKVOOXorM0= X-MC-Unique: wnxtu_uYMIy3BX0cg0tXKg-1 From: Florian Weimer To: Hydro Flask Cc: musl@lists.openwall.com References: <04c05d65470b5c94808481eaf724cc5d@yqxmail.com> Date: Fri, 17 Jul 2020 08:10:59 +0200 In-Reply-To: <04c05d65470b5c94808481eaf724cc5d@yqxmail.com> (Hydro Flask's message of "Thu, 16 Jul 2020 22:51:02 -0700") Message-ID: <87pn8uwu18.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain Subject: Re: [musl] Idea: futex() system call entry point * Hydro Flask: > I have a project that implements an API that must be AS-safe. > Had the idea of using futex() but my other constraint is that the > blocking call must also be a cancellation point. Cancellation points in signal handlers lead to asynchronous cancellation. Are you sure that this is what you want? Thanks, Florian