14 lines
321 B
Python
14 lines
321 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',
|
|
'local', 'stack_size', 'Lock']
|
|
|
|
patcher.inject('threading',
|
|
globals(),
|
|
('thread', thread),
|
|
('time', time))
|
|
|
|
del patcher
|