WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
226431
Adopt clang thread safety annotations in WTF::DataMutex
https://bugs.webkit.org/show_bug.cgi?id=226431
Summary
Adopt clang thread safety annotations in WTF::DataMutex
Chris Dumez
Reported
2021-05-29 20:01:42 PDT
Adopt clang thread safety annotation in WTF::DataMutex. This allows us to stop using UncheckedCondition in a few places.
Attachments
Patch
(34.16 KB, patch)
2021-05-29 20:03 PDT
,
Chris Dumez
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Patch
(34.89 KB, patch)
2021-05-29 20:05 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(34.93 KB, patch)
2021-05-29 20:16 PDT
,
Chris Dumez
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Patch
(38.05 KB, patch)
2021-05-29 20:20 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(37.97 KB, patch)
2021-05-29 20:26 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2021-05-29 20:03:58 PDT
Created
attachment 430122
[details]
Patch
Chris Dumez
Comment 2
2021-05-29 20:05:48 PDT
Created
attachment 430123
[details]
Patch
Chris Dumez
Comment 3
2021-05-29 20:16:47 PDT
Created
attachment 430124
[details]
Patch
Chris Dumez
Comment 4
2021-05-29 20:20:02 PDT
Created
attachment 430125
[details]
Patch
Chris Dumez
Comment 5
2021-05-29 20:26:57 PDT
Created
attachment 430126
[details]
Patch
EWS
Comment 6
2021-05-29 22:23:05 PDT
Committed
r278248
(
238285@main
): <
https://commits.webkit.org/238285@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 430126
[details]
.
Radar WebKit Bug Importer
Comment 7
2021-05-29 22:24:22 PDT
<
rdar://problem/78656465
>
Alicia Boya García
Comment 8
2021-06-03 04:03:48 PDT
Comment on
attachment 430126
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=430126&action=review
> Source/WTF/wtf/DataMutex.h:68 > + DATA_MUTEX_CHECK(!mutex().isHeld());
Checking this *before* taking the mutex will crash in inocuous cases such when another thread has already locked the DataMutex and the calling thread needs to wait.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug