about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-07-26 10:06:18 +0000
committerAndreas Jaeger <aj@suse.de>2000-07-26 10:06:18 +0000
commitb98a450f59444c16616416fa650d1686a72e1768 (patch)
treee5155e95b5f39e8b1e46a77710f4fb94130c7d3d
parent438e82396b76a9b4a88b66e0e261979a0d1447c5 (diff)
downloadglibc-b98a450f59444c16616416fa650d1686a72e1768.tar.gz
glibc-b98a450f59444c16616416fa650d1686a72e1768.tar.xz
glibc-b98a450f59444c16616416fa650d1686a72e1768.zip
Initialize p_sem_avail.
2000-07-26  Andreas Jaeger  <aj@suse.de>

	* pthread.c: Initialize p_sem_avail.
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--linuxthreads/pthread.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 83be97f6fd..88549fd534 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,7 @@
+2000-07-26  Andreas Jaeger  <aj@suse.de>
+
+	* pthread.c: Initialize p_sem_avail.
+
 2000-07-25  Ulrich Drepper  <drepper@redhat.com>
 
 	* internals.h (struct __pthread_descr_struct): Add p_sem_avail.
diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c
index 7195b2dedc..41fbdc0f24 100644
--- a/linuxthreads/pthread.c
+++ b/linuxthreads/pthread.c
@@ -89,6 +89,7 @@ struct _pthread_descr_struct __pthread_initial_thread = {
   ATOMIC_INITIALIZER,         /* struct pthread_atomic p_resume_count */
   0,                          /* char p_woken_by_cancel */
   0,                          /* char p_condvar_avail */
+  0,                          /* char p_sem_avail */
   NULL,                       /* struct pthread_extricate_if *p_extricate */
   NULL,	                      /* pthread_readlock_info *p_readlock_list; */
   NULL,                       /* pthread_readlock_info *p_readlock_free; */
@@ -145,6 +146,7 @@ struct _pthread_descr_struct __pthread_manager_thread = {
   ATOMIC_INITIALIZER,         /* struct pthread_atomic p_resume_count */
   0,                          /* char p_woken_by_cancel */
   0,                          /* char p_condvar_avail */
+  0,                          /* char p_sem_avail */
   NULL,                       /* struct pthread_extricate_if *p_extricate */
   NULL,	                      /* pthread_readlock_info *p_readlock_list; */
   NULL,                       /* pthread_readlock_info *p_readlock_free; */