diff options
Diffstat (limited to 'src/cancel.h')
-rw-r--r-- | src/cancel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cancel.h b/src/cancel.h index 954b04e..060edb3 100644 --- a/src/cancel.h +++ b/src/cancel.h | |||
@@ -49,8 +49,8 @@ enum class CancelOp | |||
49 | // crc64/we of string "CANCEL_ERROR" generated at http://www.nitrxgen.net/hashgen/ | 49 | // crc64/we of string "CANCEL_ERROR" generated at http://www.nitrxgen.net/hashgen/ |
50 | static constexpr UniqueKey CANCEL_ERROR{ 0xe97d41626cc97577ull }; // 'raise_cancel_error' sentinel | 50 | static constexpr UniqueKey CANCEL_ERROR{ 0xe97d41626cc97577ull }; // 'raise_cancel_error' sentinel |
51 | 51 | ||
52 | CancelOp which_cancel_op(char const* op_string_); | 52 | [[nodiscard]] CancelOp which_cancel_op(char const* op_string_); |
53 | CancelResult thread_cancel(Lane* lane_, CancelOp op_, int hook_count_, lua_Duration secs_, bool wake_lindas_); | 53 | [[nodiscard]] CancelResult thread_cancel(Lane* lane_, CancelOp op_, int hook_count_, lua_Duration secs_, bool wake_lindas_); |
54 | 54 | ||
55 | [[noreturn]] static inline void raise_cancel_error(lua_State* L) | 55 | [[noreturn]] static inline void raise_cancel_error(lua_State* L) |
56 | { | 56 | { |