Bug 225652 - [WTF] Add holdLock() overload for WTF::DataMutex
Summary: [WTF] Add holdLock() overload for WTF::DataMutex
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alicia Boya García
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-05-11 06:16 PDT by Alicia Boya García
Modified: 2021-05-13 10:04 PDT (History)
16 users (show)

See Also:


Attachments
Patch (22.55 KB, patch)
2021-05-11 06:18 PDT, Alicia Boya García
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alicia Boya García 2021-05-11 06:16:24 PDT
This patch adds a holdLock() overload for WTF::DataMutex as syntactic
sugar to simplify usage in a similar way to what holdLock() already
does for WTF::Locker.
Comment 1 Alicia Boya García 2021-05-11 06:18:14 PDT
Created attachment 428268 [details]
Patch
Comment 2 Xabier Rodríguez Calvar 2021-05-11 07:12:29 PDT
Comment on attachment 428268 [details]
Patch

Art.
Comment 3 EWS 2021-05-13 10:03:46 PDT
Committed r277438 (237686@main): <https://commits.webkit.org/237686@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 428268 [details].
Comment 4 Radar WebKit Bug Importer 2021-05-13 10:04:18 PDT
<rdar://problem/77970928>