mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-21 18:25:14 +08:00
extra comments
This commit is contained in:
parent
d12b1650aa
commit
1e65e7c996
4
reader.h
4
reader.h
@ -135,8 +135,10 @@ int reader_reading_interrupted();
|
|||||||
/**
|
/**
|
||||||
Returns true if the current reader generation count does not equal the
|
Returns true if the current reader generation count does not equal the
|
||||||
generation count the current thread was started with.
|
generation count the current thread was started with.
|
||||||
Note: currently only valid for autocompletion threads! Other threads don't
|
Note 1: currently only valid for autocompletion threads! Other threads don't
|
||||||
set the threadlocal generation count when they start up.
|
set the threadlocal generation count when they start up.
|
||||||
|
Note 2: This function uses conditional compilation for thread-local storage.
|
||||||
|
If the compiler doesn't support that this function always returns `false`.
|
||||||
*/
|
*/
|
||||||
bool reader_cancel_thread();
|
bool reader_cancel_thread();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user