rename reader_cancel_thread to reader_thread_job_is_stale, update comments

This commit is contained in:
Jan Kanis
2013-02-05 21:18:22 +01:00
parent 29fda9cb6c
commit 3f5c02bf92
3 changed files with 4 additions and 6 deletions

View File

@@ -137,10 +137,8 @@ int reader_reading_interrupted();
generation count the current thread was started with.
Note 1: currently only valid for autocompletion threads! Other threads don't
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_thread_job_is_stale();
/**
Read one line of input. Before calling this function, reader_push()