public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* is dl_iterate_phdr() supposed to be async-signal safe?
@ 2004-04-01  7:50 David Mosberger
  2004-04-01 21:22 ` Roland McGrath
  0 siblings, 1 reply; 4+ messages in thread
From: David Mosberger @ 2004-04-01  7:50 UTC (permalink / raw)
  To: libc-hacker

Subject pretty much says it all: I thought it was meant to be
async-signal safe but looking at the __pthread_mutex_lock() code, it
pretty clearly can't be, since it's updating the count and ownership
members non-atomically with respect to signal-delivery.  Or am I
missing something?

So much for dl_iterate_phdr() being an "obvious" interface... ;-/

	--david

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-04-19 18:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-01  7:50 is dl_iterate_phdr() supposed to be async-signal safe? David Mosberger
2004-04-01 21:22 ` Roland McGrath
2004-04-02  0:09   ` David Mosberger
2004-04-19 18:39     ` what to do about dl_iterate_phdr() David Mosberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).