kern_yield vs ukbd_yield

Hans Petter Selasky hselasky at c2i.net
Mon Dec 12 19:11:49 UTC 2011


On Monday 12 December 2011 20:05:38 John Baldwin wrote:
> > Hi,
> >
> > 
> >
> > > hselasky@ or someone else familiar with the various usb threads would
> > > have to answer that.
> >
> > 
> >
> > The problem is only during init() where the init thread has highest
> > priority  and that doesn't allow other threads to run even if the
> > scheduler is
> 
> running!
> 
> Hmm, that should be fixed by lowering the relevant thread's priority.
> Do you mean thread0 (the one doing all the SYSINIT's or thread we create
> for init (pid 1) before it executes init?

Yes, thread0. Correct!

--HPS


More information about the freebsd-usb mailing list