aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/internals.h
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/internals.h')
-rw-r--r--linuxthreads/internals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h
index 531b0424d8..f9eba6b94c 100644
--- a/linuxthreads/internals.h
+++ b/linuxthreads/internals.h
@@ -229,6 +229,9 @@ extern volatile int __pthread_threads_debug;
/* Globally enabled events. */
extern volatile td_thr_events_t __pthread_threads_events;
+/* Pointer to descriptor of thread with last event. */
+extern volatile pthread_descr __pthread_last_event;
+
/* Return the handle corresponding to a thread id */
static inline pthread_handle thread_handle(pthread_t id)