| To: | <linux-kernel@xxxxxxxxxxxxxxx> |
|---|---|
| Subject: | del_timer_sync() synchronization rules |
| From: | "Mendelson, Tsippy" <tsippy.mendelson@xxxxxxxxx> |
| Date: | Wed, 14 Jan 2004 12:38:30 +0200 |
| Cc: | <netdev@xxxxxxxxxxx>, "iJR ICGJ SW Dev Linux ANS" <ijr.icgj.sw.dev.linux.ans@xxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| Thread-index: | AcPajPtbRzUYxo6ZRi2ctZZTwDQbqA== |
| Thread-topic: | del_timer_sync() synchronization rules |
In the header of the del_timer_sync() function in 2.4.x kernels it says: * Caller must disable by some means restarting the timer * for new. In kernel 2.6.1 the header says: * Synchronization rules: callers must prevent restarting of the timer, * otherwise this function is meaningless. Does anyone know what this is about? Does this imply that a timer that restarts itself must use some other means to prevent it from restarting once del_timer_sync was called? (like some kind of terminate flag) If so - isn't this just what dell_timer_sync is supposed to handle properly? If not - then what kind of scenario is this referring to? Tsippy |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 1/2] IPv6: stricter checks on link-locals in bind and sendmsg, Ville Nuorvala |
|---|---|
| Next by Date: | [PATCH|RFC] IPv6: have a proxy discard link-local traffic, Ville Nuorvala |
| Previous by Thread: | [PATCH 1/2] IPv6: stricter checks on link-locals in bind and sendmsg, Ville Nuorvala |
| Next by Thread: | [PATCH|RFC] IPv6: have a proxy discard link-local traffic, Ville Nuorvala |
| Indexes: | [Date] [Thread] [Top] [All Lists] |