Re: Thread state

2002-07-12 Thread John Baldwin
On 11-Jul-2002 Julian Elischer wrote: It has been tested on sparc64, alpha, and i386 all with SMP. I would like to commit it soonish. Comments? put me down as having approved/agreed/applauded/whatever! (but check the idle thread setup first) Cool, ok. -- John Baldwin [EMAIL

Thread state

2002-07-11 Thread John Baldwin
() doesn't work either. Rather than try to fix this in the assembler though, I think it is easier to just set the thread state once in C at the end of choosethread(). It is a lot easier to maintain down the road. The patch to do this is at http://www.freebsd.org/~jhb/patches/kse_switch.patch It has

Re: Thread state

2002-07-11 Thread Julian Elischer
the thread state once in C at the end of choosethread(). It is a lot easier to maintain down the road. The patch to do this is at http://www.freebsd.org/~jhb/patches/kse_switch.patch duh I should read to the end of the email first.. It has been tested on sparc64, alpha, and i386 all

Re: Thread state

2002-07-11 Thread Benno Rice
, according to Peter, the code in ia64's cpu_switch() doesn't work either. Rather than try to fix this in the assembler though, I think it is easier to just set the thread state once in C at the end of choosethread(). It is a lot easier to maintain down the road. The patch to do