Re: Unpreempted behavior with sys.setcheckinterval

2009-04-17 Thread Aahz
In article c982207b-388d-4608-a1c1-7a1a84293...@u8g2000yqn.googlegroups.com, k3xji sum...@gmail.com wrote: I want unpreempted behavior for some application and do some testing as below. Well the unpreemption behavior is working fine with sys.setcheckinterval(sys.maxint). However, when I set the

Unpreempted behavior with sys.setcheckinterval

2009-04-16 Thread k3xji
Hi all, I want unpreempted behavior for some application and do some testing as below. Well the unpreemption behavior is working fine with sys.setcheckinterval(sys.maxint). However, when I set the interval to a lower value, the thread does not being preempted anymore, it runs until it is