[Click] SMP Click and Timers

Beyers Cronje bcronje at gmail.com
Tue Aug 1 22:34:11 EDT 2006


Hi guys,

When using multithreaded click with StaticThreadSched can one be guaranteed
on what cpu a timer will be run?

As a simple example, would it be required to provide synchronization for
element SomeElement that has a Timer that modifies mutable data inside
SomeElement given the following click configuration:

fd::FromDevice(eth0) -> q::Queue;
q -> deq::UnQueue -> SomeElement -> Discard;
StaticThreadSched(fd 0, deq 1);

Thanks

Beyers


More information about the click mailing list