Commit Graph

9 Commits (77926dd1f9575569c186841b854fc4af4e4bf737)
 

Author SHA1 Message Date
Avril 77926dd1f9
Semaphore: Added `try_acquire()`, `try_using()` (see docs). Added `bind_using(func)` to returned a bound function of `func` to `this.using`.
3 years ago
Avril b2070f1918
Semaphore: Better example function. Changed `Semaphore.Mutex()` -> `Semaphore.mutex()` to avoid class naming convention confusion.
3 years ago
Avril d54a5e8f51 Uhh, fixed semaphore. It works now.
3 years ago
Avril d151412576
WHY DOESN"T THIS FUKCINGA I STUPID THING WORK????? RESOLVE IS ***PROVEN*** TO ____NOT____ BE CALLED IN THE PROMISE CTOR SO WHY THE FUCK IS THAT PROMISE RESOLVING IMMEDIATELY!??!?!?!??!???!??!??!?!?!?!?
3 years ago
Avril bc64ae9232
semaphore attampt 1: failure
3 years ago
Avril ed32e1586b
Changed `exmaple()` to `console.log()` instead of `alert()`.
3 years ago
Avril 881be9a6e7
Fix syntax error
3 years ago
Avril 05daa18891
Update README
3 years ago
Avril 66a5c7cc05
Initial commit
3 years ago