| 87 | const Mutex = require('../ch6-mutex/mutex.js'); |
| 88 | |
| 89 | class SharedRingBuffer { |
| 90 | constructor(shared/*: number | SharedArrayBuffer*/) { |
| 91 | this.shared = typeof shared === 'number' ? |
| 92 | new SharedArrayBuffer(shared + 16) : shared; |
nothing calls this directly
no outgoing calls
no test coverage detected