Bug 256931
Summary: | [webkitcorepy] Fix race condition in FileLock | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jonathan Bedard <jbedard> |
Component: | Tools / Tests | Assignee: | Jonathan Bedard <jbedard> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Jonathan Bedard
If a process releases and then imiediately attempts to re-aquire a FileLock, we will end up with a race-condition if another process is also trying to do the same. FileLock should be robust against this race condition, since this is precisely the situation where a FileLock is most useful.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/109487762>
Jonathan Bedard
Pull request: https://github.com/WebKit/WebKit/pull/13993
EWS
Committed 264321@main (1c10cac85558): <https://commits.webkit.org/264321@main>
Reviewed commits have been landed. Closing PR #13993 and removing active labels.