Re: Unpreempted behavior with sys.setcheckinterval

2009-04-17 Thread Aahz
In article , k3xji 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 interval to >a lower value, the thread does not being preempted anymore, it r

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 finished.