summaryrefslogtreecommitdiff
path: root/include/sane/sanei_thread.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-24 21:03:56 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-24 21:03:56 +0200
commit58912f68c2489bcee787599837447e0d64dfd61a (patch)
treedda50aadde35fe152da1a8d50769987ace0f1496 /include/sane/sanei_thread.h
parentcfd27ef2ad8b005fd47ab41ef29b71d9e3d48201 (diff)
New upstream version 1.0.27upstream/1.0.27
Diffstat (limited to 'include/sane/sanei_thread.h')
-rw-r--r--include/sane/sanei_thread.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/sane/sanei_thread.h b/include/sane/sanei_thread.h
index f152c93..fa72481 100644
--- a/include/sane/sanei_thread.h
+++ b/include/sane/sanei_thread.h
@@ -61,6 +61,7 @@
#include "../include/sane/config.h"
#ifdef USE_PTHREAD
+#include <pthread.h>
typedef pthread_t SANE_Pid;
#else
typedef int SANE_Pid;
@@ -88,10 +89,10 @@ extern SANE_Bool sanei_thread_is_forked (void);
* regardless of SANE_Pid's data type.
*
* @return
- * - SANE_TRUE - if pid is not a valid process
- * - SANE_FALSE - if pid is a valid process
+ * - SANE_TRUE - if pid is a valid process
+ * - SANE_FALSE - if pid is not a valid process
*/
-extern SANE_Bool sanei_thread_is_invalid (SANE_Pid pid);
+extern SANE_Bool sanei_thread_is_valid (SANE_Pid pid);
/** Spawn a new task.
*