Skip to content

Instantly share code, notes, and snippets.

@hub-cap
Created May 29, 2013 18:36
Show Gist options
  • Select an option

  • Save hub-cap/5672633 to your computer and use it in GitHub Desktop.

Select an option

Save hub-cap/5672633 to your computer and use it in GitHub Desktop.
>>> fo(eventlet.greenthread.GreenThread)
[<eventlet.greenthread.GreenThread object at 0x38b7408>,
<eventlet.greenthread.GreenThread object at 0x38b75a0>]
>>> fo(eventlet.greenthread.GreenThread)[0].__dict__
{'_exit_event': <eventlet.event.Event object at 0x3b96650>,
'_exit_funcs': deque([(<bound method GreenPool._spawn_done of <eventlet.greenpool.GreenPool object at 0x388b690>>, (), {}), (<function _thread_done at 0x29c5578>, (), {'group': <reddwarf.openstack.common.threadgroup.ThreadGroup object at 0x38962d0>, 'thread': <reddwarf.openstack.common.threadgroup.Thread object at 0x37cc050>})]),
'_resolving_links': False}
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment