Make XObject::GetWaitHandle a protected function

This commit is contained in:
Dr. Chat
2015-12-17 18:32:45 -06:00
committed by Ben Vanik
parent e619e4590c
commit 68f9949829
8 changed files with 22 additions and 18 deletions

View File

@@ -181,7 +181,6 @@ class XThread : public XObject {
X_STATUS Delay(uint32_t processor_mode, uint32_t alertable,
uint64_t interval);
xe::threading::WaitHandle* GetWaitHandle() override { return thread_.get(); }
xe::threading::Thread* thread() { return thread_.get(); }
virtual bool Save(ByteStream* stream) override;
@@ -204,6 +203,8 @@ class XThread : public XObject {
void DeliverAPCs();
void RundownAPCs();
xe::threading::WaitHandle* GetWaitHandle() override { return thread_.get(); }
CreationParams creation_params_ = {0};
uint32_t thread_id_ = 0;