public inbox for rda@sourceware.org
 help / color / mirror / Atom feed
* PATCH: thread-db.c get_thread_signals doc fix
@ 2004-10-19 22:50 Jim Blandy
  0 siblings, 0 replies; only message in thread
From: Jim Blandy @ 2004-10-19 22:50 UTC (permalink / raw)
  To: rda


Committed as obvious.

2004-10-19  Jim Blandy  <jimb@redhat.com>

	* thread-db.c (get_thread_signals): Doc fix.

***************
*** 1205,1213 ****
  }
  
  /* Function: get_thread_signals
!    Obtain the values of the "cancel", "restart" and "debug" signals 
!    used by linux threads, and store them in a set of global variables
!    for use by check_child_state and friends. */
  
  static int cancel_signal;
  static int restart_signal;
--- 1342,1360 ----
  }
  
  /* Function: get_thread_signals
! 
!    Obtain the values of the "cancel", "restart" and "debug" signals
!    used by LinuxThreads, and store them in a set of global variables
!    for use by check_child_state and friends.
! 
!    Recent versions of NPTL don't define these symbols at all; you must
!    use the libthread_db event functions instead (td_ta_event_addr,
!    ...) to find out about thread creation, thread exits, and so on.
! 
!    Older versions of LinuxThreads provide both interfaces.  To avoid
!    changing RDA's behavior on any system it supports, we use the older
!    signal-based interface if present, and use the event-based
!    interface as a fall-back.  */
  
  static int cancel_signal;
  static int restart_signal;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-19 22:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-19 22:50 PATCH: thread-db.c get_thread_signals doc fix Jim Blandy

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).