[Click] multithreaded click

Eddie Kohler kohler at cs.ucla.edu
Fri Jun 1 11:47:01 EDT 2007


Hi Roman,

Yes, you are mostly correct.  Each RouterThread runs only the tasks assigned 
to it.  The one mistake is that the RouterThreads are created when the router 
is initially installed, by the Master.

Eddie


Roman Chertov wrote:
> Hello,
> 	I have been looking at the multithread Click and would like to get a 
> few things clarified.  As I understand, StaticThreadSched only creates a 
> data structure that contains thread preferences and element IDs.  The 
> Router object then calls initial_home_thread_id to figure out the 
> mapping between the elements and thread IDs.  Then does the Router 
> create several RouterThread objects (corresponding to -t N) and adds 
> tasks per RouterThread object depending on the elem ID, thread ID pair? 
>   If so, then does each RouterThread run the tasks assigned only to it?
> 
> Many Thanks,
> 
> Roman
> 
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list