[core] current scheduler

- Adds a way to set the current scheduler on the thread to be used whenever a mailbox is created that needs to reply on this thread
This commit is contained in:
Ivo van Dongen
2017-07-25 15:46:16 +03:00
committed by Ivo van Dongen
parent d88567ee09
commit edaa002c3c
4 changed files with 30 additions and 7 deletions

View File

@@ -58,8 +58,8 @@ void ThreadLocal<T>::set(T* ptr) {
}
}
template class ThreadLocal<RunLoop>;
template class ThreadLocal<BackendScope>;
template class ThreadLocal<Scheduler>;
template class ThreadLocal<int>; // For unit tests
} // namespace util