other versions
- wheezy 3.2.78-1
FLUSH_WORK_SYNC(9) | Driver Basics | FLUSH_WORK_SYNC(9) |
NAME¶
flush_work_sync - wait until a work has finished executionSYNOPSIS¶
bool
flush_work_sync(struct work_struct * work);
ARGUMENTS¶
workthe work to flush
DESCRIPTION¶
Wait until work has finished execution. On return, it's guaranteed that all queueing instances of work which happened before this function is called are finished. In other words, if work hasn't been requeued since this function was called, work is guaranteed to be idle on return.RETURNS¶
COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |