kernel/thread: use std::unordered_map for callback record
This commit is contained in:
parent
5b45a3e1b5
commit
fda2a5cf54
2 changed files with 12 additions and 16 deletions
|
@ -199,9 +199,6 @@ public:
|
|||
|
||||
std::string name;
|
||||
|
||||
/// Handle used as userdata to reference this object when inserting into the CoreTiming queue.
|
||||
Handle callback_handle;
|
||||
|
||||
using WakeupCallback = void(ThreadWakeupReason reason, SharedPtr<Thread> thread,
|
||||
SharedPtr<WaitObject> object);
|
||||
// Callback that will be invoked when the thread is resumed from a waiting state. If the thread
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue