Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_thread.c34 static void emlxs_taskq_thread(emlxs_taskq_thread_t *tthread);
38 emlxs_taskq_thread(emlxs_taskq_thread_t *tthread) in emlxs_taskq_thread() argument
44 taskq = tthread->taskq; in emlxs_taskq_thread()
46 mutex_enter(&tthread->lock); in emlxs_taskq_thread()
47 tthread->flags |= EMLXS_THREAD_STARTED; in emlxs_taskq_thread()
49 while (!(tthread->flags & EMLXS_THREAD_KILLED)) { in emlxs_taskq_thread()
51 tthread->next = taskq->put_head; in emlxs_taskq_thread()
52 taskq->put_head = tthread; in emlxs_taskq_thread()
56 tthread->flags |= EMLXS_THREAD_ASLEEP; in emlxs_taskq_thread()
57 cv_wait(&tthread->cv_flag, &tthread->lock); in emlxs_taskq_thread()
[all …]