From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4517 invoked by alias); 1 Dec 2005 23:33:06 -0000 Received: (qmail 4508 invoked by uid 22791); 1 Dec 2005 23:33:06 -0000 X-Spam-Check-By: sourceware.org Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.197) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 01 Dec 2005 23:33:01 +0000 Received: by zproxy.gmail.com with SMTP id x3so407069nzd for ; Thu, 01 Dec 2005 15:32:59 -0800 (PST) Received: by 10.37.12.24 with SMTP id p24mr2065608nzi; Thu, 01 Dec 2005 15:32:59 -0800 (PST) Received: by 10.37.2.6 with HTTP; Thu, 1 Dec 2005 15:32:59 -0800 (PST) Message-ID: <8f2776cb0512011532pe14cff0q8719691648f5abe9@mail.gmail.com> Date: Thu, 01 Dec 2005 23:33:00 -0000 From: Jim Blandy To: Daniel Juan Subject: Re: posix semaphores not working under gdb Cc: Kenny Simpson , gdb@sourceware.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051201075511.62566.qmail@web34107.mail.mud.yahoo.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00004.txt.bz2 Interesting: POSIX says, of thread_mutex_lock ( ), pthread_mutex_trylock ( ), and pthread_mutex_unlock ( ): 34138 These functions shall not return an error code of [EINTR]. But of sem_wait (): 39299 The sem_trywait ( ) and sem_wait ( ) functions may fail if: ... 39301 [EINTR] A signal interrupted this function.