diff options
Diffstat (limited to 'src/lane.cpp')
-rw-r--r-- | src/lane.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lane.cpp b/src/lane.cpp index 26ddebd..65a776e 100644 --- a/src/lane.cpp +++ b/src/lane.cpp | |||
@@ -1169,11 +1169,11 @@ void Lane::securizeDebugName(lua_State* const L_) | |||
1169 | 1169 | ||
1170 | // ################################################################################################# | 1170 | // ################################################################################################# |
1171 | 1171 | ||
1172 | void Lane::startThread(int const priority_) | 1172 | void Lane::startThread(lua_State* const L_, int const priority_, NativePrioFlag native_) |
1173 | { | 1173 | { |
1174 | thread = std::thread([this]() { lane_main(this); }); | 1174 | thread = std::thread([this]() { lane_main(this); }); |
1175 | if (priority_ != kThreadPrioDefault) { | 1175 | if (priority_ != kThreadPrioDefault) { |
1176 | THREAD_SET_PRIORITY(thread, priority_, U->sudo); | 1176 | THREAD_SET_PRIORITY(L_, thread, priority_, native_, U->sudo); |
1177 | } | 1177 | } |
1178 | } | 1178 | } |
1179 | 1179 | ||