diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-02-12 23:39:13 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-02-12 23:49:41 -0800 |
commit | a568ca76fa259fc8e6c8dc18db2ff2b3822b7651 (patch) | |
tree | 45c1495b2da8b053cc45bff43eb214fb53e333d3 | |
parent | 064c2491402d008367214be9b2e81b0c339806b5 (diff) | |
download | perl-a568ca76fa259fc8e6c8dc18db2ff2b3822b7651.tar.gz |
More perldiag grammar tweaks
-rw-r--r-- | pod/perldiag.pod | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 23e8fe5faa..998347c8e8 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1399,10 +1399,10 @@ on I<Mastering Regular Expressions>.) (W threads) Within a thread-enabled program, you tried to call cond_broadcast() on a variable which wasn't locked. The cond_broadcast() -function is used to wake up another thread that is waiting in a +function is used to wake up another thread that is waiting in a cond_wait(). To ensure that the signal isn't sent before the other thread -has a chance to enter the wait, it is usual for the signaling thread to -first wait for a lock on variable. This lock attempt will only succeed +has a chance to enter the wait, it is usual for the signaling thread +first to wait for a lock on variable. This lock attempt will only succeed after the other thread has entered cond_wait() and thus relinquished the lock. @@ -1410,10 +1410,10 @@ lock. (W threads) Within a thread-enabled program, you tried to call cond_signal() on a variable which wasn't locked. The cond_signal() -function is used to wake up another thread that is waiting in a +function is used to wake up another thread that is waiting in a cond_wait(). To ensure that the signal isn't sent before the other thread -has a chance to enter the wait, it is usual for the signaling thread to -first wait for a lock on variable. This lock attempt will only succeed +has a chance to enter the wait, it is usual for the signaling thread +first to wait for a lock on variable. This lock attempt will only succeed after the other thread has entered cond_wait() and thus relinquished the lock. |