[Click] multithreaded click

Roman Chertov rchertov at purdue.edu
Fri Jun 1 10:05:42 EDT 2007


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




More information about the click mailing list