aboutsummaryrefslogtreecommitdiff
path: root/src/cancel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cancel.h')
-rw-r--r--src/cancel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cancel.h b/src/cancel.h
index 3304e0d..0e4e6d4 100644
--- a/src/cancel.h
+++ b/src/cancel.h
@@ -38,8 +38,8 @@ enum class CancelOp
38// xxh64 of string "kCancelError" generated at https://www.pelock.com/products/hash-calculator 38// xxh64 of string "kCancelError" generated at https://www.pelock.com/products/hash-calculator
39static constexpr UniqueKey kCancelError{ 0x0630345FEF912746ull, "lanes.cancel_error" }; // 'raise_cancel_error' sentinel 39static constexpr UniqueKey kCancelError{ 0x0630345FEF912746ull, "lanes.cancel_error" }; // 'raise_cancel_error' sentinel
40 40
41[[nodiscard]] CancelOp which_cancel_op(std::string_view const& opString_); 41[[nodiscard]] CancelRequest cancel_test(lua_State* L_);
42[[nodiscard]] CancelResult thread_cancel(Lane* lane_, CancelOp op_, int hookCount_, std::chrono::time_point<std::chrono::steady_clock> until_, bool wakeLane_); 42[[nodiscard]] CancelOp WhichCancelOp(std::string_view const& opString_);
43 43
44[[noreturn]] static inline void raise_cancel_error(lua_State* L_) 44[[noreturn]] static inline void raise_cancel_error(lua_State* L_)
45{ 45{