Lines Matching full:thread
49 * @sioc represents a successful result. While thread is running, @sioc is
50 * used only by thread and not protected by mutex. When thread is not
62 bool running; /* thread is running now */
63 bool detached; /* thread is detached and should cleanup the state */
127 * may be cancelled from other thread by simply qio_channel_shutdown(sioc).
280 * if the thread is running, wait for completion
281 * if the thread already succeeded in the background, and user didn't get the
283 * otherwise the thread is not running, so start a thread and wait for
286 * If @blocking is false, don't wait for the thread, return immediately.
298 QemuThread thread; in nbd_co_establish_connection() local
331 qemu_thread_create(&thread, "nbd-connect", in nbd_co_establish_connection()
349 * We are going to wait for connect-thread finish, but in nbd_co_establish_connection()
358 * before the connection thread finished its job. Report the in nbd_co_establish_connection()
359 * attempt as failed, but leave the connection thread running, in nbd_co_establish_connection()
378 /* Thread finished. There must be either error or sioc */ in nbd_co_establish_connection()
410 * Note that this function neither directly stops the thread nor closes the