Am Montag, 31. Oktober 2011, 11:26:58 schrieb Frank SchÃfer:What do you mean ? Which flag should I set and what's the condition to check for ?Am 31.10.2011 04:11, schrieb Yong Zhang:Does it work if you set a flag and resubmit the work only conditionallyThat's what I'm doing (see above).This is the first time I'm using a workqueue, so there is a goodYou should cancel the work you have armed before exit.
chance that I missed something...
See cancel_delayed_work().
Did you read the code ? ;-)
on it?
Regards
Oliver