Home | History | Annotate | Download | only in updater

Lines Matching defs:thread

332  * To achieve this, we expand the new data from the archive in a background thread, and block that
333 * threads 'receive uncompressed data' function until the main thread has reached a point where we
334 * want some new data to be written. We signal the background thread with the destination for the
335 * data and block the main thread, waiting for the background thread to complete writing that
336 * section. Then it signals the main thread to wake up and goes back to blocking waiting for a
340 * the main thread wants some data written, it sets writer to the destination location and signals
341 * the condition. When the background thread is done writing, it clears writer and signals the
373 // At this point nti->writer is set, and we own it. The main thread is waiting for it to
413 // At this point nti->writer is set, and we own it. The main thread is waiting for it to
539 pthread_t thread;
1793 int error = pthread_create(&params.thread, &attr, unzip_new_data, &params.nti);
1906 int ret = pthread_join(params.thread, nullptr);