From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18920 invoked by alias); 13 Nov 2003 18:47:42 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 18864 invoked from network); 13 Nov 2003 18:47:42 -0000 Received: from unknown (HELO palrel12.hp.com) (156.153.255.237) by sources.redhat.com with SMTP; 13 Nov 2003 18:47:42 -0000 Received: from hplms2.hpl.hp.com (hplms2.hpl.hp.com [15.0.152.33]) by palrel12.hp.com (Postfix) with ESMTP id CC8D51C01BB4; Thu, 13 Nov 2003 10:47:41 -0800 (PST) Received: from napali.hpl.hp.com (napali.hpl.hp.com [15.4.89.123]) by hplms2.hpl.hp.com (8.12.10/8.12.10/HPL-PA Hub) with ESMTP id hADIlewU006826; Thu, 13 Nov 2003 10:47:41 -0800 (PST) Received: from napali.hpl.hp.com (napali [127.0.0.1]) by napali.hpl.hp.com (8.12.3/8.12.3/Debian-6.6) with ESMTP id hADIleFO017648; Thu, 13 Nov 2003 10:47:40 -0800 Received: (from davidm@localhost) by napali.hpl.hp.com (8.12.3/8.12.3/Debian-6.6) id hADIle0o017644; Thu, 13 Nov 2003 10:47:40 -0800 From: David Mosberger MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16307.53708.108218.324546@napali.hpl.hp.com> Date: Thu, 13 Nov 2003 18:47:00 -0000 To: Ulrich Drepper Cc: davidm@hpl.hp.com, Jakub Jelinek , libc-hacker@sources.redhat.com Subject: Re: new syscall stub support for ia64 libc In-Reply-To: <3FB3C3F9.1040303@redhat.com> References: <200310290426.h9T4Q9pw014305@napali.hpl.hp.com> <20031029074436.GR12344@sunsite.ms.mff.cuni.cz> <16288.50694.36460.339805@napali.hpl.hp.com> <20031031084249.GA30446@twiddle.net> <20031031070114.GV12344@sunsite.ms.mff.cuni.cz> <16290.37282.439025.287911@napali.hpl.hp.com> <20031031144724.GY12344@sunsite.ms.mff.cuni.cz> <16306.47596.371542.356256@napali.hpl.hp.com> <16307.13167.262943.505720@napali.hpl.hp.com> <3FB34C1E.3040209@redhat.com> <16307.49081.857428.105026@napali.hpl.hp.com> <3FB3C3F9.1040303@redhat.com> Reply-To: davidm@hpl.hp.com X-URL: http://www.hpl.hp.com/personal/David_Mosberger/ X-SW-Source: 2003-11/txt/msg00040.txt.bz2 >>>>> On Thu, 13 Nov 2003 09:48:41 -0800, Ulrich Drepper said: >> Would it perhaps be possible for glibc to provide a >> non-cancellable version of fprintf? Uli> Definitely not. How can you expect fprintf to work for Uli> low-level debugging like that of cancellation handling? Didn't you answer your own question in the paragraph below? Uli> There is one way, but it's not official and might just change Uli> underneath you. You can add 'c' to the mode string of fopen() Uli> to request no cancellation. But this requires opening a new Uli> stream. OK, I'll look into adding that to libunwind. >> Where can I find the definitely list of cancellable routines? Uli> POSIX standard. Thanks. In case there are others on this list who are not intimately familiar with the POSIX standard, here is the relevant URL: http://www.opengroup.org/onlinepubs/007904975/functions/xsh_chap02_09.html --david