aboutsummaryrefslogtreecommitdiff
path: root/src/cancel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cancel.h')
-rw-r--r--src/cancel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cancel.h b/src/cancel.h
index bac8b05..d60903c 100644
--- a/src/cancel.h
+++ b/src/cancel.h
@@ -26,6 +26,7 @@ class Lane; // forward
26enum class CancelRequest 26enum class CancelRequest
27{ 27{
28 None, // no pending cancel request 28 None, // no pending cancel request
29 // TODO: add a Wake mode: user wants to wake the waiting lindas (in effect resulting in a timeout before the initial operation duration)
29 Soft, // user wants the lane to cancel itself manually on cancel_test() 30 Soft, // user wants the lane to cancel itself manually on cancel_test()
30 Hard // user wants the lane to be interrupted (meaning code won't return from those functions) from inside linda:send/receive calls 31 Hard // user wants the lane to be interrupted (meaning code won't return from those functions) from inside linda:send/receive calls
31}; 32};