diff options
-rw-r--r-- | src/library.js | 12 |
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; |