aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2013-03-06 07:44:55 +0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2013-03-06 07:44:55 +0700
commit9e563bb1e4cf96b97abeaf89711c1924ce05601d (patch)
tree53e5b087ada806ef885672c71a05a848fbb99390
parent18eb60ebb34bb699121567cf41e3a5fc79a262c2 (diff)
Add some return values for pthread_cond_*.
-rw-r--r--src/library.js12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/library.js b/src/library.js
index 28131d97..1dc6e5fd 100644
--- a/src/library.js
+++ b/src/library.js
@@ -6708,9 +6708,15 @@ LibraryManager.library = {
},
pthread_cond_init: function() {},
pthread_cond_destroy: function() {},
- pthread_cond_broadcast: function() {},
- pthread_cond_wait: function() {},
- pthread_cond_timedwait: function() {},
+ pthread_cond_broadcast: function() {
+ return 0;
+ },
+ pthread_cond_wait: function() {
+ return 0;
+ },
+ pthread_cond_timedwait: function() {
+ return 0;
+ },
pthread_self: function() {
//FIXME: assumes only a single thread
return 0;