-
- Downloads
Ensure that the current fiber is recycled in discardAndResume()
The current Fiber is now always stored in the context, not just on debug builds. This also means that we can remove the currentFiber thread local variable, as using only a thread local storage would yield wrong results in case a blocked context is resumed on another worker thread.
Showing
- emper/Context.hpp 21 additions, 3 deletionsemper/Context.hpp
- emper/ContextManager.cpp 9 additions, 0 deletionsemper/ContextManager.cpp
- emper/Dispatcher.cpp 0 additions, 2 deletionsemper/Dispatcher.cpp
- emper/Dispatcher.hpp 7 additions, 20 deletionsemper/Dispatcher.hpp
- emper/strategies/laws/LawsDispatcher.cpp 9 additions, 3 deletionsemper/strategies/laws/LawsDispatcher.cpp
- emper/strategies/laws/LawsDispatcher.hpp 3 additions, 0 deletionsemper/strategies/laws/LawsDispatcher.hpp
- emper/strategies/ws/WsDispatcher.cpp 1 addition, 1 deletionemper/strategies/ws/WsDispatcher.cpp
Loading
Please register or sign in to comment