Re: How to force one thread running on a single cpu in multi-cpu system

2009-05-08 Thread Sean Kelly
davesun wrote: hello How to force one thread running on a single cpu in multi-cpu system but without switching,just like the thread in windows iocp model. A thread pool perhaps? Like a producer-consumer model? That's basically how Windows IOCP works anyway. If you use Tango, look a

How to force one thread running on a single cpu in multi-cpu system

2009-05-07 Thread davesun
hello How to force one thread running on a single cpu in multi-cpu system but without switching,just like the thread in windows iocp model. thanks