Bug 245564 - Thread safety analysis does not support run-time lock assertions
Summary: Thread safety analysis does not support run-time lock assertions
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kimmo Kinnunen
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-09-23 00:37 PDT by Kimmo Kinnunen
Modified: 2022-09-23 00:49 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kimmo Kinnunen 2022-09-23 00:37:17 PDT
Thread safety analysis does not support run-time lock assertions

Consider a rule like:
 - variable is read and written without lock from main thread until work queue is started
 - after work queue is started, the main thread writes are protected by a lock
 - work queue reads are protected by a lock

Currently we only explain this with comments, if even that.
Comment 1 Radar WebKit Bug Importer 2022-09-23 00:38:11 PDT
<rdar://problem/100313162>
Comment 2 Kimmo Kinnunen 2022-09-23 00:49:04 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4621