diff options
Diffstat (limited to 'manual')
-rw-r--r-- | manual/manual.of | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/manual/manual.of b/manual/manual.of index 6da2e494..fea6922e 100644 --- a/manual/manual.of +++ b/manual/manual.of | |||
@@ -6307,11 +6307,12 @@ an object with type @T{"thread"}. | |||
6307 | 6307 | ||
6308 | } | 6308 | } |
6309 | 6309 | ||
6310 | @LibEntry{coroutine.isyieldable ()| | 6310 | @LibEntry{coroutine.isyieldable ([co])| |
6311 | 6311 | ||
6312 | Returns true when the running coroutine can yield. | 6312 | Returns true when the coroutine @id{co} can yield. |
6313 | The default for @id{co} is the running coroutine. | ||
6313 | 6314 | ||
6314 | A running coroutine is yieldable if it is not the main thread and | 6315 | A coroutine is yieldable if it is not the main thread and |
6315 | it is not inside a non-yieldable @N{C function}. | 6316 | it is not inside a non-yieldable @N{C function}. |
6316 | 6317 | ||
6317 | } | 6318 | } |