[Click] dual implementation of Router method

Eddie Kohler kohler at cs.ucla.edu
Mon May 24 00:31:07 EDT 2004


Nikitas Liogkas wrote:
> The initial_thread_preference() method of the Router class seems to
> be implemented in two places: in include/click/router.hh as inline
> (this is the implementation that takes effect), as well as in
> lib/router.cc. The second implementation is probably a remnant; it
> just returns 0. It can arguably be safely removed...
> 
> nikitas

Those are two different methods: Router::initial_thread_preference
and ThreadSched::initial_thread_preference.

XOXO
E


More information about the click mailing list