Skip to content

Instantly share code, notes, and snippets.

@Ivoz
Created February 10, 2012 12:03
Show Gist options
  • Save Ivoz/1789081 to your computer and use it in GitHub Desktop.
Save Ivoz/1789081 to your computer and use it in GitHub Desktop.
import gevent
def myfunc(r):
print 'RARWARAWRARR'
def rawr(a):
return sum(a)
g = gevent.Greenlet(rawr, [1, 2])
g.link(myfunc)
g.start()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment