summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads_db/thread_dbP.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-02-27 18:13:05 +0000
committerEric Andersen <andersen@codepoet.org>2003-02-27 18:13:05 +0000
commit187dd78d7bd1c03fcf16e54a30314512d38e1a4a (patch)
tree9780638e5286b40da74a128c9f540a9ea720862f /libpthread/linuxthreads_db/thread_dbP.h
parentd4d6e2c50565da18253cd0d6f3332484142b6587 (diff)
Major update for pthreads, based in large part on improvements
from glibc 2.3. This should make threads much more efficient. -Erik
Diffstat (limited to 'libpthread/linuxthreads_db/thread_dbP.h')
-rw-r--r--libpthread/linuxthreads_db/thread_dbP.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpthread/linuxthreads_db/thread_dbP.h b/libpthread/linuxthreads_db/thread_dbP.h
index 8e87bae52..c45336ac9 100644
--- a/libpthread/linuxthreads_db/thread_dbP.h
+++ b/libpthread/linuxthreads_db/thread_dbP.h
@@ -2,7 +2,10 @@
#ifndef _THREAD_DBP_H
#define _THREAD_DBP_H 1
+#define __FORCE_GLIBC
+#include <features.h>
#include <string.h>
+#include <unistd.h>
#include "proc_service.h"
#include "thread_db.h"
#include "../linuxthreads/internals.h"
@@ -22,6 +25,8 @@ enum
LINUXTHREADS_CREATE_EVENT,
LINUXTHREADS_DEATH_EVENT,
LINUXTHREADS_REAP_EVENT,
+ LINUXTHREADS_INITIAL_REPORT_EVENTS,
+ LINUXTHREADS_VERSION,
NUM_MESSAGES
};