Lines Matching defs:cond_wait
36 sub cond_wait (\[$@%];\[$@%]) { undef }
49 my @EXPORT = qw(share is_shared cond_wait cond_timedwait
232 cond_wait($scalar);
239 cond_wait($var, $lockvar);
255 C<shared_clone>, C<is_shared>, C<cond_wait>, C<cond_timedwait>, C<cond_signal>
401 =item cond_wait VARIABLE
403 =item cond_wait CONDVAR, LOCKVAR
405 The C<cond_wait> function takes a B<locked> variable as a parameter, unlocks
408 C<cond_wait> blocked on is re-locked after the C<cond_wait> is satisfied. If
409 there are multiple threads C<cond_wait>ing on the same variable, all but one
412 using C<cond_wait> for synchronization, give up the lock as soon as possible).
417 In its second form, C<cond_wait> takes a shared, B<unlocked> variable followed
427 { lock($counter); cond_wait($counter) until $counter == 0; }
440 Like C<cond_wait>, this function may take a shared, B<locked> variable as an
444 Again like C<cond_wait>, waking up and reacquiring the lock are not atomic,
459 unblocks one thread that's C<cond_wait>ing
461 thread is blocked in a C<cond_wait> on that variable, only one (and which one
464 If there are no threads blocked in a C<cond_wait> on the variable, the signal
467 signaling before another thread has entered cond_wait().
480 a C<cond_wait> on the locked variable, rather than only one.