~ubuntu-branches/ubuntu/trusty/python-eventlet/trusty-proposed

« back to all changes in this revision

Viewing changes to .pc/eventlet-leak.patch/eventlet/green/threading.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-03-02 08:57:57 UTC
  • Revision ID: package-import@ubuntu.com-20120302085757-kpasohz8nme655o1
Tags: 0.9.16-1ubuntu2
debian/patches/eventlet-leak.patch: Fixes memory leak in nova. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from eventlet import patcher
 
2
from eventlet.green import thread
 
3
from eventlet.green import time
 
4
 
 
5
__patched__ = ['_start_new_thread', '_allocate_lock', '_get_ident', '_sleep',
 
6
               'local', 'stack_size', 'Lock']
 
7
 
 
8
patcher.inject('threading',
 
9
    globals(),
 
10
    ('thread', thread),
 
11
    ('time', time))
 
12
 
 
13
del patcher