[Click] mutex on click

Eddie Kohler kohler at cs.ucla.edu
Thu May 8 00:30:15 EDT 2008


Look in <click/sync.hh>.  Spinlock, for example.  However, there is very 
little support in Click for multithreading at userlevel.  Spinlock does 
nothing at userlevel.  It should be easy to hack it to, for example, use 
pthread primitives but we have not done that in mainline.

Eddie


Giovanni Di Stasi wrote:
> Hi everyone,
> I have to protect some structures that are accessed by more than a thread. So I need mutexes, or some synchronization mechanisms... 
> I need something that is usable both in userspace and in kernel mode.
> 
> Thanks.
> 
> 
> 
> 
>       Inviato da Yahoo! Mail. 
> La casella di posta intelligente.
> http://it.docs.yahoo.com/mail/overview/index.html
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list