Hello!
> How does that all sound?
All this sounds realistic.
> - Removes:
>
> timer_list.running
> timer_set_running()
> timer_synchronize()
> timer_is_running()
Hmm... But how user can know that his timer is running then?
> +static struct timer_list *running_timer;
I see, I see. Seems, this should work. But this implementation looks
utterly ugly (not a big problem in practice) and difficult to generalize.
The last can cause serious troubles in future.
Maybe it is better to add flag SELF_DESTRUCTABLE to timer_list
and to synchronize to timer->running?
Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:25 EST