[Click] click_threads()

Nikola Knežević laladelausanne at gmail.com
Tue Sep 9 05:12:05 EDT 2008


On 8 Sep 2008, at 19:38 , Eddie Kohler wrote:

> Old code.  The current code uses something like  
> click_parm(CLICKPARM_THREADS).

Thanks.

bsdmodule still has this:
#if __MTCLICK__
   click_master = new Master(click_threads());
   if (smp_num_cpus != NUM_CLICK_CPUS)
     click_chatter("warning: click compiled for %d cpus, machine  
allows %d",
	          NUM_CLICK_CPUS, smp_num_cpus);
#else
   click_master = new Master(1);
#endif


is __MTCLICK__ also deprecated? If yes, I will remove this from my  
code...

Cheers,
Nikola


More information about the click mailing list