mirrored from https://chromium.googlesource.com/v8/v8.git
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[shared-struct] Add Mutex.lockAsync and Condition.waitAsync A…
…PIs." This reverts commit 975dabc. Reason for revert: Failed on V8 Linux64 TSAN - debug https://ci.chromium.org/ui/p/v8/builders/ci/V8%20Linux64%20TSAN%20-%20debug/5680/overview Original change's description: > [shared-struct] Add Mutex.lockAsync and Condition.waitAsync APIs. > > This CL add support for Atomics.Mutex.asyncLock(mutex, callback), its > return value is always a promise. > If callback's result is not a promise, then the mutex is released and > the return promise is resolved once the callback finished execution. > If callback's result is a promise, then the mutex is released and the > return promise is resolved once the callback promise is resolved. > The value the result promise passes to its handlers is an object > {value: 'callback_result', success: boolean}. > > This CL also adds support for Atomics.Condition.asyncWait. Its return > value is a promise which will be resolved when the corresponding > condition variable is notified. > > Both API's support timeouts. > > Bug: v8:12547 > Change-Id: I95eaa3f78781211b2fb69dc89da98b0214dae892 > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4873220 > Commit-Queue: Luis Fernando Pardo Sixtos <lpardosixtos@microsoft.com> > Reviewed-by: Shu-yu Guo <syg@chromium.org> > Reviewed-by: Adam Klein <adamk@chromium.org> > Cr-Commit-Position: refs/heads/main@{#93665} Bug: v8:12547 Change-Id: Idd61303b6fbfded38ef9a9fba266391cedf2e823 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5506864 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Commit-Queue: Rezvan Mahdavi Hezaveh <rezvan@chromium.org> Owners-Override: Rezvan Mahdavi Hezaveh <rezvan@chromium.org> Cr-Commit-Position: refs/heads/main@{#93667}
- Loading branch information
Showing
26 changed files
with
198 additions
and
2,090 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.