Message11585
Logged In: YES
user_id=31435
Well, there's no Sleep on earth long enough to guarantee
that some other specific thread got a timeslice, so maybe
that's the best that can be done.
I'm not sure what you mean when you say that the main
thread sees KeyboardInterrupt on Linux. In sleeper.py? I
expect the main thread to be hung, waiting to acquire a
lock that will never be released (when a thread in
sleeper.py is killed via IOError, it never releases its lock,
and the main thread should hang trying to acquire it). A
lock.acquire() shouldn't be interruptible by Ctrl+C, so
there's a Linux bug here if the main thread isn't hung.
Anyway, that's irrelevant to this patch, so Accepted and
back to you. Reformat so that lines don't go beyond
column 79? Also please write some Misc/NEWS blurbs for
the things you checked in today. Thanks! |
|
Date |
User |
Action |
Args |
2007-08-23 14:04:12 | admin | link | issue581232 messages |
2007-08-23 14:04:12 | admin | create | |
|