[Click] Re: Click router: routertask

Andrushka andrusha at gmail.com
Fri Aug 19 02:18:01 EDT 2005


I found that 

 _nonfull_signal = Notifier::downstream_nonfull_signal(this, 0, &_task);

in InfiniteSource::initialize(ErrorHandler *errh)

is 0. Why is it can be?

On 8/18/05, Andrushka <andrusha at gmail.com> wrote:
> Hello!
> First of all sorry for my English.
> 
> I want ask one question.
> Routertask's created in master.cc in Master::Master(int nthreads)
> _threads.push_back(new RouterThread(this, tid));
> 
> I want to run test.click config.
> 
> i do:
> router->master()->thread(0)->driver();
> 
> All goes well.
> I see have called Task::call_hook() for InfiniteSource.
> 
> But _next for InfiniteSource point to routertask;
> 
> Why ?????
> Why he doesn't point to Strip element ???
> 
> Same things if i turn on
> #define HAVE_STRIDE_SCHED 1
> #define HAVE_TASK_HEAP 1
> (runing only InfiniteSource element).
> 
> I can't find place where CLICK build sequence of task for scheduling.
> 
> Please help!
>



More information about the click mailing list