Changeset 213229 in webkit for trunk/Source/JavaScriptCore/runtime/JSLock.h
- Timestamp:
- Mar 1, 2017, 10:18:04 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSLock.h
r213202 r213229 95 95 96 96 std::optional<PlatformThread> ownerThread() const { return m_ownerThread; } 97 bool currentThreadIsHoldingLock() { return m_ownerThread == currentPlatformThread(); }97 bool currentThreadIsHoldingLock() { return m_ownerThread && m_ownerThread == currentPlatformThread(); } 98 98 99 99 void willDestroyVM(VM*);
Note:
See TracChangeset
for help on using the changeset viewer.