Bug 225652

Summary: [WTF] Add holdLock() overload for WTF::DataMutex
Product: WebKit Reporter: Alicia Boya García <aboya>
Component: Web Template FrameworkAssignee: Alicia Boya García <aboya>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, calvaris, cdumez, cgarcia, cmarcelo, eric.carlson, ews-watchlist, glenn, gustavo, jer.noble, menard, philipj, pnormand, sergio, vjaquez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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>