What's New
-
Adds the static
ByteLength
class property, which represents
the amount of memory in bytes required by the class.new Mutex(new SharedArrayBuffer(Mutex.ByteLength));
Updated classes include:
- ConditionVariable
- CountingSemaphore
- Latch
- Mutex
- OnceFlag
- RecursiveMutex
- SharedMutex
- SharedTimedMutex
- TimedMutex
-
Adds
bitOffset
validation toOnceFlag
. Invalid values
now throw aRangeError
(e.g. when < 0 or >= 32).
Full Changelog: v2.1.0...v2.2.0