Re: yield() and cond_resched() do not yield to another thread

2018-09-05 Thread Stephen Hemminger
On Tue, 4 Sep 2018 21:16:07 +0800 fei phung wrote: > Hi everyone, > > I am working on https://github.com/promach/riffa/tree/full_duplex > > While I modifying the linux driver, I faced some issue using yield(). > > Why riffa_driver.c yield() function > https://gist.github.com/promach/7716ee8add

Re: yield() and cond_resched() do not yield to another thread

2018-09-05 Thread Stephen Hemminger
On Tue, 4 Sep 2018 21:16:07 +0800 fei phung wrote: > Hi everyone, > > I am working on https://github.com/promach/riffa/tree/full_duplex > > While I modifying the linux driver, I faced some issue using yield(). > > Why riffa_driver.c yield() function > https://gist.github.com/promach/7716ee8add

yield() and cond_resched() do not yield to another thread

2018-09-04 Thread fei phung
Hi everyone, I am working on https://github.com/promach/riffa/tree/full_duplex While I modifying the linux driver, I faced some issue using yield(). Why riffa_driver.c yield() function https://gist.github.com/promach/7716ee8addcaa33fda140d74d1ad94d6#file-riffa_driver-c-L746 does not yield to ch