diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-02-27 09:22:05 +0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-02-27 09:22:05 +0700 |
commit | 52e5c1b766dfe6cf5098332fab781ab5111ad335 (patch) | |
tree | d897ba435007e9e7b02ca1214628bc9ddd2f802a /src | |
parent | a28b5d53d75b428b1bee1efd39ac6d01d68d56d2 (diff) |
Add a stub pthread_mutex_trylock().
Diffstat (limited to 'src')
-rw-r--r-- | src/library.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js index 38399632..1dcc57ad 100644 --- a/src/library.js +++ b/src/library.js @@ -6701,6 +6701,9 @@ LibraryManager.library = { pthread_mutexattr_destroy: function() {}, pthread_mutex_lock: function() {}, pthread_mutex_unlock: function() {}, + pthread_mutex_trylock: function() { + return 0; + }, pthread_cond_init: function() {}, pthread_cond_destroy: function() {}, pthread_cond_broadcast: function() {}, |