Changelog
v0.2.1
this
valueChangelog
v0.2.0
Deadlock fix (thanks to Miljenko Rebernisak)
Conditions can now be a string, number, boolean, regexp, besides the previously supported function type. This changes
the condition test to a ===
equality-test or a regexp.test(). This allows code wait calls to become much shorter in
common cases. Example:
cond.wait('ready', function () {
console.log('It is ready!');
});
Many unit tests have been added for mutexes, semaphores and condition variables.