diff options
Diffstat (limited to 'src/lanes.cpp')
-rw-r--r-- | src/lanes.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lanes.cpp b/src/lanes.cpp index a5c9c8b..000668a 100644 --- a/src/lanes.cpp +++ b/src/lanes.cpp | |||
@@ -342,7 +342,7 @@ LUAG_FUNC(lane_new) | |||
342 | lane->ready.count_down(); | 342 | lane->ready.count_down(); |
343 | lane = nullptr; | 343 | lane = nullptr; |
344 | } | 344 | } |
345 | } onExit{ L_, _lane}; | 345 | } _onExit{ L_, _lane}; |
346 | // launch the thread early, it will sync with a std::latch to parallelize OS thread warmup and L2 preparation | 346 | // launch the thread early, it will sync with a std::latch to parallelize OS thread warmup and L2 preparation |
347 | DEBUGSPEW_CODE(DebugSpew(_U) << "lane_new: launching thread" << std::endl); | 347 | DEBUGSPEW_CODE(DebugSpew(_U) << "lane_new: launching thread" << std::endl); |
348 | // public Lanes API accepts a generic range -3/+3 | 348 | // public Lanes API accepts a generic range -3/+3 |
@@ -497,7 +497,7 @@ LUAG_FUNC(lane_new) | |||
497 | 497 | ||
498 | STACK_CHECK_RESET_REL(L_, 0); | 498 | STACK_CHECK_RESET_REL(L_, 0); |
499 | // all went well, the lane's thread can start working | 499 | // all went well, the lane's thread can start working |
500 | onExit.success(); // L_: [fixed] lane L2: <living its own life> | 500 | _onExit.success(); // L_: [fixed] lane L2: <living its own life> |
501 | // we should have the lane userdata on top of the stack | 501 | // we should have the lane userdata on top of the stack |
502 | STACK_CHECK(L_, 1); | 502 | STACK_CHECK(L_, 1); |
503 | return 1; | 503 | return 1; |
@@ -681,7 +681,7 @@ LUAG_FUNC(configure) | |||
681 | STACK_CHECK(L_, 1); | 681 | STACK_CHECK(L_, 1); |
682 | 682 | ||
683 | // Serialize calls to 'require' from now on, also in the primary state | 683 | // Serialize calls to 'require' from now on, also in the primary state |
684 | serialize_require(DEBUGSPEW_PARAM_COMMA(_U) L_); | 684 | serialize_require(L_); |
685 | 685 | ||
686 | // Retrieve main module interface table | 686 | // Retrieve main module interface table |
687 | lua_pushvalue(L_, lua_upvalueindex(2)); // L_: settings M | 687 | lua_pushvalue(L_, lua_upvalueindex(2)); // L_: settings M |