aboutsummaryrefslogtreecommitdiff
path: root/src/cancel.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/cancel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cancel.cpp b/src/cancel.cpp
index 46ed347..ebb0c67 100644
--- a/src/cancel.cpp
+++ b/src/cancel.cpp
@@ -61,7 +61,7 @@ THE SOFTWARE.
61// ################################################################################################# 61// #################################################################################################
62 62
63//--- 63//---
64// = thread_cancel( lane_ud [,timeout_secs=0.0] [,wake_lindas_bool=false] ) 64// = lane_cancel( lane_ud [,timeout_secs=0.0] [,wake_lindas_bool=false] )
65// 65//
66// The originator thread asking us specifically to cancel the other thread. 66// The originator thread asking us specifically to cancel the other thread.
67// 67//
@@ -139,7 +139,7 @@ LUAG_FUNC(cancel_test)
139// ################################################################################################# 139// #################################################################################################
140 140
141// bool[,reason] = lane_h:cancel( [cancel_op, hookcount] [, timeout] [, wake_lane]) 141// bool[,reason] = lane_h:cancel( [cancel_op, hookcount] [, timeout] [, wake_lane])
142LUAG_FUNC(thread_cancel) 142LUAG_FUNC(lane_cancel)
143{ 143{
144 Lane* const _lane{ ToLane(L_, StackIndex{ 1 }) }; 144 Lane* const _lane{ ToLane(L_, StackIndex{ 1 }) };
145 CancelOp const _op{ WhichCancelOp(L_, StackIndex{ 2 }) }; // this removes the cancel_op string from the stack 145 CancelOp const _op{ WhichCancelOp(L_, StackIndex{ 2 }) }; // this removes the cancel_op string from the stack