aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.h
diff options
context:
space:
mode:
authorGravatar Jan Kanis <jan.code@jankanis.nl>2013-02-05 21:18:22 +0100
committerGravatar Jan Kanis <jan.code@jankanis.nl>2013-02-05 21:28:23 +0100
commit3f5c02bf926b238512f7275f3344944daf416229 (patch)
treecb13f74b9515500ef04d7d60d37effaf195aa04b /reader.h
parent29fda9cb6c1866c447892185e5cd29b9f2358b11 (diff)
rename reader_cancel_thread to reader_thread_job_is_stale, update comments
Diffstat (limited to 'reader.h')
-rw-r--r--reader.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/reader.h b/reader.h
index f7cc7fdc..d0f878a3 100644
--- a/reader.h
+++ b/reader.h
@@ -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()