Lines Matching defs:ThreadHandle
336 class ThreadHandle::PlatformData : public Malloced {
338 explicit PlatformData(ThreadHandle::Kind kind) {
342 void Initialize(ThreadHandle::Kind kind) {
344 case ThreadHandle::SELF: thread_ = pthread_self(); break;
345 case ThreadHandle::INVALID: thread_ = kNoThread; break;
352 ThreadHandle::ThreadHandle(Kind kind) {
357 void ThreadHandle::Initialize(ThreadHandle::Kind kind) {
362 ThreadHandle::~ThreadHandle() {
367 bool ThreadHandle::IsSelf() const {
372 bool ThreadHandle::IsValid() const {
377 Thread::Thread() : ThreadHandle(ThreadHandle::INVALID) {