cancel_work_sync man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

CANCEL_WORK_SYNC(9)		 Driver Basics		   CANCEL_WORK_SYNC(9)

NAME
       cancel_work_sync - block until a work_struct´s callback has terminated

SYNOPSIS
       int cancel_work_sync(struct work_struct * work);

ARGUMENTS
       work
	   the work which is to be flushed

DESCRIPTION
       Returns 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.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013		   CANCEL_WORK_SYNC(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net