This is the mail archive of the rda@sources.redhat.com mailing list for the rda project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: thread-db.c get_thread_signals doc fix


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]