Query: cancel_work_sync
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CANCEL_WORK_SYNC(9) Driver Basics CANCEL_WORK_SYNC(9)NAMEcancel_work_sync - block until a work_struct's callback has terminatedSYNOPSISint cancel_work_sync(struct work_struct * work);ARGUMENTSwork the work which is to be flushedDESCRIPTIONReturns true if work was pending. cancel_work_sync will cancel the work if it is queued. If the work's callback appears to be running, cancel_work_sync will block until it has completed. It is possible to use this function if the work re-queues itself. It can cancel the work even if it migrates to another workqueue, however in that case it only guarantees that work->func has completed on the last queued workqueue. cancel_work_sync(delayed_work->work) should be used only if ->timer is not pending, otherwise it goes into a busy-wait loop until the timer expires. The caller must ensure that workqueue_struct on which this work was last queued can't be destroyed before this function returns.COPYRIGHTKernel Hackers Manual 2.6. July 2010 CANCEL_WORK_SYNC(9)
Related Man Pages |
---|
struct_sta_ampdu_mlme(9) - centos |
usb_queue_reset_device(9) - centos |
device_schedule_callback_owner(9) - suse |
workqueue_create(9) - netbsd |
workqueue_enqueue(9) - netbsd |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Change directory error |
Grant unprivileged user rights to see the output of echo|format but not modify disks |
Migrating to UNIX |
Docker learning Phase-I |