Commit Graph

6 Commits (master)

Author SHA1 Message Date
Avril b7f3249180
Update README for a section on `Semaphore` (semaphore.js).
2 years ago
Avril 77926dd1f9
Semaphore: Added `try_acquire()`, `try_using()` (see docs). Added `bind_using(func)` to returned a bound function of `func` to `this.using`.
2 years ago
Avril b2070f1918
Semaphore: Better example function. Changed `Semaphore.Mutex()` -> `Semaphore.mutex()` to avoid class naming convention confusion.
2 years ago
Avril d54a5e8f51 Uhh, fixed semaphore. It works now.
2 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!??!?!?!??!???!??!??!?!?!?!?
2 years ago
Avril bc64ae9232
semaphore attampt 1: failure
2 years ago