@@ -123,21 +123,23 @@ mkWeakThreadId t@(ThreadId t#) = IO $ \s ->
123123
124124-- | Setting the state to active.
125125-- 'Manager' turns active to inactive repeatedly.
126−resume :: Handle -> IO ()
127−resume (Handle _ iactive) = I.writeIORef iactive Active
128−
129126tickle :: Handle -> IO ()
130−tickle = resume
127+tickle (Handle _ iactive) = I.writeIORef iactive Active
128+
129+-- | Setting the state to canceled.
130+-- 'Manager' eventually removes this without timeout action.
131+cancel :: Handle -> IO ()
132+cancel (Handle _ iactive) = I.writeIORef iactive Canceled
131133
132134-- | Setting the state to paused.
133135-- 'Manager' does not change the value.
134136pause :: Handle -> IO ()
135137pause (Handle _ iactive) = I.writeIORef iactive Paused
136138
137−-- | Setting the state to canceled.
138−-- 'Manager' eventually removes this without timeout action.
139−cancel :: Handle -> IO ()
140−cancel (Handle _ iactive) = I.writeIORef iactive Canceled
139+-- | Setting the state to active.
140+-- This is an alias to 'ticle'.
141+resume :: Handle -> IO ()
142+resume = tickle
141143
142144----------------------------------------------------------------
143145