Hi, Today I created a threading library to replace the default one. The uniqueness of this library is that it is based solely based on stackless and functions as a (near) drop in replacement for the 'threaded' version.
Only a few minor changes needs to be done to source code: - The 'main' code needs to be moved into a thread - threading.start() needs to be called [and will block until threads stop functioning] Some known issues: - threading.start() enters a busy loop if a deadlock occurs. - There might be come locking issues [related to atomic] - atomic does not appear to be so atomic*** Thought I might share this with the community. Regards David P.S. [See attached for threading.py] P.P.S. [[This is only a very rough, proof-of-concept work] WARNING: Does eat babies (or as the saying goes)
threading.py
Description: application/python
_______________________________________________ Stackless mailing list [email protected] http://www.stackless.com/mailman/listinfo/stackless
