comparison packages/compat/posix/current/src/pthread.cxx @ 136:a9ac27ec7abc ecos-sw-2000-11-17

Merge from eCos master repository on 2000-11-17-18:24:25-GMT
author jlarmour
date Fri, 17 Nov 2000 23:16:43 +0000
parents 0c2b7be0d798
children d397fc472bcf
comparison
equal deleted inserted replaced
135:3bc2abeae9ff 136:a9ac27ec7abc
587 // Initialize the joiner condition variable 587 // Initialize the joiner condition variable
588 588
589 nthread->joiner = new(nthread->joiner_obj) Cyg_Condition_Variable( pthread_mutex ); 589 nthread->joiner = new(nthread->joiner_obj) Cyg_Condition_Variable( pthread_mutex );
590 590
591 // Initialize signal specific fields. 591 // Initialize signal specific fields.
592 cyg_posix_thread_siginit( nthread ); 592 cyg_posix_thread_siginit( nthread, self );
593 593
594 // create the underlying eCos thread 594 // create the underlying eCos thread
595 595
596 nthread->thread = new(&nthread->thread_obj[0]) 596 nthread->thread = new(&nthread->thread_obj[0])
597 Cyg_Thread ( PTHREAD_ECOS_PRIORITY(use_attr.schedparam.sched_priority), 597 Cyg_Thread ( PTHREAD_ECOS_PRIORITY(use_attr.schedparam.sched_priority),