Skip to content

Commit

Permalink
wake to notify polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
VirtualTim authored Mar 21, 2019
1 parent 739e176 commit 1c92b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fetch-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if (typeof Atomics === 'undefined') {
Atomics['compareExchange'] = function(t, i, e, r) { var w = t[i]; if (w == e) t[i] = r; return w; }
Atomics['exchange'] = function(t, i, v) { var w = t[i]; t[i] = v; return w; }
Atomics['wait'] = function(t, i, v, o) { if (t[i] != v) return 'not-equal'; else return 'timed-out'; }
Atomics['wake'] = function(t, i, c) { return 0; }
Atomics['notify'] = function(t, i, c) { return 0; }
Atomics['wakeOrRequeue'] = function(t, i1, c, i2, v) { return 0; }
Atomics['isLockFree'] = function(s) { return true; }
Atomics['load'] = function(t, i) { return t[i]; }
Expand Down

0 comments on commit 1c92b51

Please sign in to comment.