summaryrefslogtreecommitdiff
path: root/eventlet/greenthread.py
Commit message (Collapse)AuthorAgeFilesLines
* Reformat with autopep8Jakub Stasiak2014-10-111-1/+2
|
* PEP-8 fixesSergey Shepelev2014-08-271-2/+9
|
* greenthread: add .unlink() method; Thanks to Astrum Kuo郭旭星Astrum Kuo2014-04-151-0/+13
| | | | | Compatibility with gevent. https://github.com/eventlet/eventlet/pull/82
* python3 compat fixesVictor Sergeyev2014-03-281-53/+53
| | | | https://github.com/eventlet/eventlet/pull/59
* prevent infinite recursion with linking to current greenthreadEdward George2012-12-121-4/+13
|
* ensure that new hub greenlet is parent of old, dead hub greenlet.Edward George2012-08-111-0/+1
| | | | also, ensure this happens when eventlet.greenthread.kill() is used.
* Fix for unusual kill() error that was probably introduced by a bugfix in ↵Ryan Williams2010-10-021-3/+4
| | | | greenlet.
* Finally removed pesky _main_wrapper function in greenthread thanks to ↵Ryan Williams2010-08-191-14/+4
| | | | Ambroff having added keyword argument support in greenlet 0.3. Yay cleaner, better-performing code.
* Converted fully over to what the internet assures me is the American ↵Ryan Williams2010-05-051-2/+3
| | | | spelling of 'canceled' -- this only affects internal variables. Also cleaned up the meticulous timer accounting of the hub tests so they stop failing after other tests are run. Also added new parameter to the abort method because it seemed to be the dominant mode of operation.
* Reversed order of operations in kill() to make the killing more immediate.Ryan Williams2010-03-291-2/+3
|
* Clarified docs on spawn_n's semantics.Ryan Williams2010-03-291-3/+9
|
* Doc upgrade for greenthread module.Ryan Williams2010-02-201-46/+10
|
* Minor doc improvements. Added more backdoor documentation.Ryan Williams2010-02-191-6/+5
|
* Imported Timeout class from gevent, deprecated exc_after, replaced ↵Ryan Williams2010-02-151-47/+7
| | | | TimeoutError with Timeout (should be seamless).
* Added spawn_after_local and tests, removed test__timers (the source of the ↵Ryan Williams2010-02-131-0/+31
| | | | new tests), deprecated call_after_*
* Moved timer to hubs package, since that's almost all of its usage.Ryan Williams2010-02-131-7/+6
|
* Added spawn_after, with tests and documentation. Removed dead code in ↵Ryan Williams2010-02-131-7/+47
| | | | timer_test.
* Moved trampoline into hubs/__init__, which maybe is the best place for it; ↵Ryan Williams2010-01-241-3/+1
| | | | open to suggestions.
* Doc improvementsRyan Williams2010-01-181-1/+1
|
* Doc improvements, removed docs for coros and proc modules.Ryan Williams2010-01-181-17/+30
|
* Cleaned up link implementation in greenthread, added greenthread test ↵Ryan Williams2010-01-181-20/+56
| | | | module, fixed kill's implementation to resolve the race condition.
* Moved Event to its own module. More cycle-breaking!Ryan Williams2010-01-171-181/+4
|
* Moved greenio_test to new APIs, created a new debug_test to test that module.Ryan Williams2010-01-171-0/+6
|
* Moved semaphore classes into their own module.Ryan Williams2010-01-171-2/+3
|
* Moved kill into greenthread, out of api.Ryan Williams2010-01-171-0/+9
|
* Upgraded wsgi tests. Reversed logic in hub's exception squelching so it's ↵Ryan Williams2010-01-121-0/+1
| | | | correct. Re-raising exceptions in greenthread objects so that they pass the test. Now debug.hub_exceptions should be set to True before running if you want to see exceptions on stderr.
* Moved a bunch of stuff from api to greenthread and imported into __init__. ↵Ryan Williams2010-01-041-0/+82
| | | | Broke circular import in timer.py.
* Documentation sweep -- slightly improved documentation for a bunch of ↵Ryan Williams2009-12-311-3/+3
| | | | things, and beefed up the examples to keep up with the parlance of our times.
* Refactored imap to make it even simpler and fix the limitation, added test ↵Ryan Williams2009-12-311-1/+0
| | | | for multiple iterators, removed SilencedTestCase because there was no need for it anymore.
* Moved call_afters to greenthread.Ryan Williams2009-12-271-5/+40
|
* Moved a bunch of stuff around. Event, GreenThread, spawn, spawn_n went to ↵Ryan Williams2009-12-261-0/+267
the greenthread module. Some tweaks to the parallel module, including adding a spawn_n method that is faster than spawn.