projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
And then finally cond_wait cond_signal and cond_broadcast are now implmented.
[p5sagit/p5-mst-13.2.git]
/
ext
/
threads
/
shared
/
shared.pm
diff --git
a/ext/threads/shared/shared.pm
b/ext/threads/shared/shared.pm
index
d0d6cce
..
6868312
100644
(file)
--- a/
ext/threads/shared/shared.pm
+++ b/
ext/threads/shared/shared.pm
@@
-16,6
+16,11
@@
BEGIN {
*lock = \&lock_disabled;
} else {
*share = \&share_enabled;
+ *cond_wait = \&cond_wait_enabled;
+ *cond_signal = \&cond_signal_enabled;
+ *cond_broadcast = \&cond_broadcast_enabled;
+ *unlock = \&unlock_enabled;
+ *lock = \&lock_enabled;
}
}