aboutsummaryrefslogtreecommitdiff
path: root/src/lane.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lane.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lane.h b/src/lane.h
index 964c3c0..6dccd3a 100644
--- a/src/lane.h
+++ b/src/lane.h
@@ -167,9 +167,11 @@ class Lane
167 [[nodiscard]] std::string_view pushErrorTraceLevel(lua_State* L_) const; 167 [[nodiscard]] std::string_view pushErrorTraceLevel(lua_State* L_) const;
168 static void PushMetatable(lua_State* L_); 168 static void PushMetatable(lua_State* L_);
169 void pushStatusString(lua_State* L_) const; 169 void pushStatusString(lua_State* L_) const;
170 void resetResultsStorage(lua_State* const L_, int gc_cb_idx_);
170 void securizeDebugName(lua_State* L_); 171 void securizeDebugName(lua_State* L_);
171 void startThread(int priority_); 172 void startThread(int priority_);
172 [[nodiscard]] std::string_view threadStatusString() const; 173 [[nodiscard]] std::string_view threadStatusString() const;
174 // wait until the lane stops working with its state (either Suspended or Done+)
173 [[nodiscard]] bool waitForCompletion(std::chrono::time_point<std::chrono::steady_clock> until_); 175 [[nodiscard]] bool waitForCompletion(std::chrono::time_point<std::chrono::steady_clock> until_);
174}; 176};
175 177