Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@red-bean.com>
To: Daniel Juan <daniel.juan@gmail.com>
Cc: Kenny Simpson <theonetruekenny@yahoo.com>, gdb@sourceware.org
Subject: Re: posix semaphores not working under gdb
Date: Thu, 01 Dec 2005 23:33:00 -0000	[thread overview]
Message-ID: <8f2776cb0512011532pe14cff0q8719691648f5abe9@mail.gmail.com> (raw)
In-Reply-To: <f69bc2d80512010515r660de54aga19a011ba5c55a05@mail.gmail.com>

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.


  reply	other threads:[~2005-12-01 23:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-01  7:55 Kenny Simpson
2005-12-01 13:16 ` Daniel Juan
2005-12-01 23:33   ` Jim Blandy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-11-30 10:03 Daniel Juan
2005-11-30 10:40 ` Jim Blandy
2005-11-30 17:51   ` Daniel Juan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8f2776cb0512011532pe14cff0q8719691648f5abe9@mail.gmail.com \
    --to=jimb@red-bean.com \
    --cc=daniel.juan@gmail.com \
    --cc=gdb@sourceware.org \
    --cc=theonetruekenny@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox