Bug 142644 - Change WTF::ByteSpinLock to use std::atomic
Summary: Change WTF::ByteSpinLock to use std::atomic
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Lam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-12 14:34 PDT by Mark Lam
Modified: 2015-03-12 17:20 PDT (History)
8 users (show)

See Also:


Attachments
the patch. (1.98 KB, patch)
2015-03-12 16:25 PDT, Mark Lam
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Lam 2015-03-12 14:34:41 PDT
Let's use C++11's std::atomic instead of our own custom CAS in WTF::ByteSpinLock.
Comment 1 Mark Lam 2015-03-12 16:25:10 PDT
Created attachment 248550 [details]
the patch.
Comment 2 WebKit Commit Bot 2015-03-12 17:20:50 PDT
Comment on attachment 248550 [details]
the patch.

Clearing flags on attachment: 248550

Committed r181461: <http://trac.webkit.org/changeset/181461>
Comment 3 WebKit Commit Bot 2015-03-12 17:20:53 PDT
All reviewed patches have been landed.  Closing bug.