Lines Matching defs:SANE_Pid
65 typedef pthread_t SANE_Pid;
67 typedef int SANE_Pid;
86 /** Is SANE_Pid valid pid?
89 * regardless of SANE_Pid's data type.
95 extern SANE_Bool sanei_thread_is_valid (SANE_Pid pid);
97 /** Invalidate a SANE_Pid
99 * This "function" should be used to invalidate a SANE_Pid in a
106 * SANE_Pid invalidation by means of a macro rather than a proper
108 * If we decide to implement SANE_Pid with a void* in the future,
115 #define sanei_thread_invalidate(pid) ((pid) = (SANE_Pid)(-1))
117 /** Initialize a SANE_Pid
119 * This "function" should be used to initialize a SANE_Pid in a
140 extern SANE_Pid sanei_thread_begin (int (*func) (void *args), void *args);
155 extern int sanei_thread_kill (SANE_Pid pid);
170 extern int sanei_thread_sendsig (SANE_Pid pid, int sig);
184 extern SANE_Pid sanei_thread_waitpid (SANE_Pid pid, int *status);
195 extern SANE_Status sanei_thread_get_status (SANE_Pid pid);