diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-11-22 20:53:18 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-11-22 20:53:18 +0000 |
commit | 20bdb31bfc27e044290756a681e3329f6e677ab7 (patch) | |
tree | 83fcba351926c80cad192dfb56ee8e42ac3535d3 /linuxthreads_db/thread_dbP.h | |
parent | ba90ec1141c97aa17bfe701f0f9def3f7544895f (diff) | |
download | glibc-20bdb31bfc27e044290756a681e3329f6e677ab7.tar glibc-20bdb31bfc27e044290756a681e3329f6e677ab7.tar.gz glibc-20bdb31bfc27e044290756a681e3329f6e677ab7.tar.bz2 glibc-20bdb31bfc27e044290756a681e3329f6e677ab7.zip |
Update.
1999-11-22 Ulrich Drepper <drepper@cygnus.com>
* internals.h: Add prototype for __pthread_manager_event.
* manager.c (__pthread_manager_event): New function.
(pthread_start_thread_event): Correct computation of self.
Use INIT_THREAD_SELF.
* pthread.c (__pthread_manager_thread): Initialize p_lock.
(__pthread_initialize_manager): Respect event flags also for creation
of the manager thread.
Diffstat (limited to 'linuxthreads_db/thread_dbP.h')
-rw-r--r-- | linuxthreads_db/thread_dbP.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/linuxthreads_db/thread_dbP.h b/linuxthreads_db/thread_dbP.h index 7e9fb486c6..13e534afe6 100644 --- a/linuxthreads_db/thread_dbP.h +++ b/linuxthreads_db/thread_dbP.h @@ -9,7 +9,12 @@ /* Comment out the following for less verbose output. */ -#define LOG(c) __libc_write (2, c "\n", strlen (c "\n")) +#ifndef NDEBUG +# define LOG(c) if (__td_debug) __libc_write (2, c "\n", strlen (c "\n")) +extern int __td_debug; +#else +# define LOG(c) +#endif /* Handle for a process. This type is opaque. */ |