Initialize p_sem_avail.

2000-07-26  Andreas Jaeger  <aj@suse.de>

	* pthread.c: Initialize p_sem_avail.
This commit is contained in:
Andreas Jaeger 2000-07-26 10:06:18 +00:00
parent 438e82396b
commit b98a450f59
2 changed files with 6 additions and 0 deletions

View File

@ -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.

View File

@ -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; */