1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00
1999-10-11  Cristian Gafton  <gafton@redhat.com> 
 
        * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
	SA_SIGINFO.
This commit is contained in:
Ulrich Drepper
1999-10-11 20:17:13 +00:00
parent bca9f4abe8
commit df08cc56eb
7 changed files with 19 additions and 6 deletions

View File

@@ -43,6 +43,10 @@ td_thr_get_info (const td_thrhandle_t *th, td_thrinfo_t *infop)
infop->ti_tid = pds.p_tid;
infop->ti_tls = (char *) pds.p_specific;
infop->ti_pri = pds.p_priority;
/* The first thread (0 being the initial one) is the manager thread
Mark it appropriately. */
infop->ti_type = ((pds.p_tid % th->th_ta_p->pthread_threads_max) == 1
? TD_THR_SYSTEM : TD_THR_USER);
/* We can get the following information only if the thread descriptor
in the target processor is large enough, i.e., comes from a recent