aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2013-03-05 18:11:51 +0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2013-03-05 18:11:51 +0700
commit18eb60ebb34bb699121567cf41e3a5fc79a262c2 (patch)
treea292b0049e4f80a93110c8ee3c400f6cb751b24c
parent02cdea5859956e1bffcdc1f26a188200a529c53a (diff)
Implement stub for pthread_cond_timedwait().
This was in the headers, but had no implementation resulting in an undefined at runtime.
-rw-r--r--src/library.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js
index 1676a82c..28131d97 100644
--- a/src/library.js
+++ b/src/library.js
@@ -6710,6 +6710,7 @@ LibraryManager.library = {
pthread_cond_destroy: function() {},
pthread_cond_broadcast: function() {},
pthread_cond_wait: function() {},
+ pthread_cond_timedwait: function() {},
pthread_self: function() {
//FIXME: assumes only a single thread
return 0;