Bug 197136

Summary: [WTF] Move PAL::registerNotifyCallback to WTF
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: Web Template FrameworkAssignee: Yusuke Suzuki <ysuzuki>
Status: NEW    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Yusuke Suzuki
Reported 2019-04-20 01:12:43 PDT
I found that notify_register_dispatch is used in WTF and JSC too. We should have one wrapper around notify_register_dispatch in WTF (PAL::registerNotifyCallback thing) and use it everywhere in WebKit. It is nice since we can grep all the registrations with PAL::registerNotifyCallback.
Attachments
Yusuke Suzuki
Comment 1 2019-04-20 01:13:37 PDT
I was adding a callback for my debugging purpose of memory thing, and I noticed that WTF uses notify_register_dispatch, while PAL has PAL::registerNotifyCallback.
Note You need to log in before you can comment on or make changes to this bug.