Files
deb-python-eventlet/eventlet/green/threading.py
2010-02-16 12:18:43 -08:00

16 lines
315 B
Python

from eventlet import patcher
from eventlet.green import thread
from eventlet.green import time
__patched__ = ['_start_new_thread', '_allocate_lock', '_get_ident', '_sleep']
patcher.inject('threading',
globals(),
('thread', thread),
('time', time))
del patcher
if __name__ == '__main__':
_test()