Skip to content
Snippets Groups Projects
Commit 2cc07cdc authored by Florian Fischer's avatar Florian Fischer
Browse files

fix build with locked work-stealing queues and add test

parent 0a547e3d
No related branches found
No related tags found
1 merge request!1WIP: Emper shutdown
...@@ -121,6 +121,10 @@ variables: ...@@ -121,6 +121,10 @@ variables:
variables: variables:
EMPER_LOG_TIMESTAMP: "false" EMPER_LOG_TIMESTAMP: "false"
.locked-ws-queues:
variables:
EMPER_LOCKED_WS_QUEUE: "true"
test-gcc: test-gcc:
extends: extends:
- .test - .test
...@@ -201,3 +205,8 @@ test-do-not-log-timestamp: ...@@ -201,3 +205,8 @@ test-do-not-log-timestamp:
extends: extends:
- .test - .test
- .do-not-log-timestamp - .do-not-log-timestamp
test-locked-ws-queues:
extends:
- .test
- .locked-ws-queues
...@@ -9,7 +9,12 @@ ...@@ -9,7 +9,12 @@
#include "NextFiberResult.hpp" #include "NextFiberResult.hpp"
#include "Scheduler.hpp" #include "Scheduler.hpp"
#include "emper-common.h" #include "emper-common.h"
#include "lib/adt/WsClQueue.hpp" // for WsClQueue
#ifdef EMPER_LOCKED_WS_QUEUE
#include "lib/adt/LockedQueue.hpp"
#else
#include "lib/adt/WsClQueue.hpp"
#endif
class Fiber; class Fiber;
class Runtime; class Runtime;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment