Home
last modified time | relevance | path

Searched refs:send_tid (Results 1 – 1 of 1) sorted by relevance

/packages/services/BuiltInPrintService/jni/plugins/
Dplugin_pcl.c74 pthread_t send_tid; member
162 param->send_tid = pthread_self(); in _start_thread()
172 result = (status_t) pthread_create(&(param->send_tid), 0, _send_thread, (void *) param); in _start_thread()
173 if ((result == ERROR) && (param->send_tid != pthread_self())) { in _start_thread()
175 pthread_cancel(param->send_tid); in _start_thread()
177 pthread_kill(param->send_tid, SIGKILL); in _start_thread()
179 param->send_tid = pthread_self(); in _start_thread()
202 if (!pthread_equal(priv->send_tid, pthread_self())) { in _stop_thread()
208 pthread_join(priv->send_tid, 0); in _stop_thread()
209 priv->send_tid = pthread_self(); in _stop_thread()
[all …]