[Click] Sharing a Data Structure

Eddie Kohler kohler at cs.ucla.edu
Mon May 9 16:34:36 EDT 2005


Beyers answered ably.  I want to point out one more thing:

> And finally, is click multithread? If click is multithread, is there 
> the possibility of multiple access to the data structure by the two 
> click elements at the same time? So, will the use of LOCK/MUTEX 
> variables be necessary to implement this data structure?
> If click is single thread, this problem does not exists...

Click is not multithreaded in typical deployments.  BUT, if you run on 
an SMP machine, handlers and Click processing can execute in parallel.  
If you don't know what handlers are yet, you don't have to worry about 
this :)

Eddie


>
> Thank you very much!
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list