Re: Are the sched_choose() or tdq_choose() functions called after returning from an interrupt?

2015-09-09 Thread John Baldwin
On Friday, June 12, 2015 10:51:20 AM Stefan Andritoiu wrote: > Hello, > > When returning from an interrupt, does it switch directly the thread > that was interrupted? Or is the scheduler called to choose a thread to > run (most probable the thread that was interrupted)? The scheduler is always

Are the sched_choose() or tdq_choose() functions called after returning from an interrupt?

2015-06-12 Thread Stefan Andritoiu
Hello, When returning from an interrupt, does it switch directly the thread that was interrupted? Or is the scheduler called to choose a thread to run (most probable the thread that was interrupted)? More specifically, are the sched_choose() or tdq_choose() functions called after returning from