Greg> Could you have just one ticker, instead of one per thread? That would make ticker really count down checkinterval ticks. Also, of possible interest is this declaration and comment in longobject.c: static int ticker; /* XXX Could be shared with ceval? */ Any time C code would want to read or update ticker, it would have the GIL, right? Sounds like you could get away with a single ticker. The long int implementation appears to do just fine with only one... Skip
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4