Lines Matching defs:ThreadHandle
310 class ThreadHandle::PlatformData : public Malloced {
312 explicit PlatformData(ThreadHandle::Kind kind) {
316 void Initialize(ThreadHandle::Kind kind) {
318 case ThreadHandle::SELF: thread_ = pthread_self(); break;
319 case ThreadHandle::INVALID: thread_ = kNoThread; break;
327 ThreadHandle::ThreadHandle(Kind kind) {
332 void ThreadHandle::Initialize(ThreadHandle::Kind kind) {
337 ThreadHandle::~ThreadHandle() {
342 bool ThreadHandle::IsSelf() const {
347 bool ThreadHandle::IsValid() const {
352 Thread::Thread() : ThreadHandle(ThreadHandle::INVALID) {