Bug 256931

Summary: [webkitcorepy] Fix race condition in FileLock
Product: WebKit Reporter: Jonathan Bedard <jbedard>
Component: Tools / TestsAssignee: 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
Reported 2023-05-17 17:15:41 PDT
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
Radar WebKit Bug Importer
Comment 1 2023-05-17 17:16:19 PDT
Jonathan Bedard
Comment 2 2023-05-17 17:19:21 PDT
EWS
Comment 3 2023-05-22 07:40:06 PDT
Committed 264321@main (1c10cac85558): <https://commits.webkit.org/264321@main> Reviewed commits have been landed. Closing PR #13993 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.