diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-11-03 06:13:09 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-11-03 06:13:09 +0000 |
commit | ab86fbb1d2866df567219904982dac61751808e5 (patch) | |
tree | 7ef290b73205d2a02ca808b585984d6c562857b0 /linuxthreads_db/td_thr_get_info.c | |
parent | dbd3e8629f6efb51bcddbd9e85ab87c0dd95a6ee (diff) | |
download | glibc-ab86fbb1d2866df567219904982dac61751808e5.tar.gz glibc-ab86fbb1d2866df567219904982dac61751808e5.tar.xz glibc-ab86fbb1d2866df567219904982dac61751808e5.zip |
Update.
* internals.h: Declare __pthread_last_event. * manager.c: Define __pthread_last_event. (pthread_handle_create): Set __pthread_last_event. (pthread_exited): Likewise. * join.c (pthread_exit): Likewise.
Diffstat (limited to 'linuxthreads_db/td_thr_get_info.c')
-rw-r--r-- | linuxthreads_db/td_thr_get_info.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linuxthreads_db/td_thr_get_info.c b/linuxthreads_db/td_thr_get_info.c index 606ca81f78..1e05d4c214 100644 --- a/linuxthreads_db/td_thr_get_info.c +++ b/linuxthreads_db/td_thr_get_info.c @@ -19,6 +19,7 @@ Boston, MA 02111-1307, USA. */ #include <stddef.h> +#include <string.h> #include "thread_dbP.h" @@ -66,6 +67,8 @@ td_thr_get_info (const td_thrhandle_t *th, td_thrinfo_t *infop) infop->ti_lid = pds.p_pid; infop->ti_ta_p = th->th_ta_p; infop->ti_startfunc = pds.p_start_args.start_routine; + memcpy (&infop->ti_events, &pds.p_eventbuf.eventmask, + sizeof (td_thr_events_t)); return TD_OK; } |