diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-10-24 17:36:35 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-10-24 17:36:35 +0200 |
commit | 8e33d8a2ca89d630f8890332df7e5737fc4608c8 (patch) | |
tree | eb4ee9a8f5f1164f09438c7c40315ac63c19039d /src/universe.cpp | |
parent | 0d94a88b4de3973ce99fd77c6731c8219444db9e (diff) | |
download | lanes-8e33d8a2ca89d630f8890332df7e5737fc4608c8.tar.gz lanes-8e33d8a2ca89d630f8890332df7e5737fc4608c8.tar.bz2 lanes-8e33d8a2ca89d630f8890332df7e5737fc4608c8.zip |
Modernized some more trifles
Diffstat (limited to 'src/universe.cpp')
-rw-r--r-- | src/universe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/universe.cpp b/src/universe.cpp index 7630e9c..5ee2255 100644 --- a/src/universe.cpp +++ b/src/universe.cpp | |||
@@ -362,7 +362,7 @@ bool Universe::terminateFreeRunningLanes(lua_Duration const shutdownTimeout_, Ca | |||
362 | // if waiting on a linda, they will raise a cancel_error. | 362 | // if waiting on a linda, they will raise a cancel_error. |
363 | // if a cancellation hook is desired, it will be installed to try to raise an error | 363 | // if a cancellation hook is desired, it will be installed to try to raise an error |
364 | if (_lane->thread.joinable()) { | 364 | if (_lane->thread.joinable()) { |
365 | std::ignore = _lane->cancel(op_, 1, std::chrono::steady_clock::now() + 1us, true); | 365 | std::ignore = _lane->cancel(op_, std::chrono::steady_clock::now() + 1us, WakeLane::Yes, 1); |
366 | } | 366 | } |
367 | _lane = _lane->selfdestruct_next; | 367 | _lane = _lane->selfdestruct_next; |
368 | } | 368 | } |