Hi,
I have a few basic qns regarding cond_timedwait :
 
1) When perl is built on a system, 
does the following call to cond_timedwait,
 
 $ret = cond_timedwait($condvar, $timeout, $mutex);
 
internally call the pthread_cond_timedwait on the system ?
 
2) Does the cond_timedwait reacquire the mutex after returning, regardless of whether it is signalled or if the timeout occurs ?
If yes, is the mutex reacquired so as to lock it again ? Please correct me if my understanding is wrong here.
 
Thanks,
Rajarshi.


Yahoo! FareChase - Search multiple travel sites in one click.

Reply via email to