[iphone-python] greenlet on iphoneos

renaud blanch rndblnch at gmail.com
Mon Jan 12 15:31:44 UTC 2009


hi all,

greenlet [0] allows to make coroutines in python (e.g. to do kind of
cooperative multithreading, without requiring locks).
attached is a patch to make it compile and work on the iphoneos (i.e.
pass the test of the distrib but nothing else guaranted, greenlet
involves asm voodoo, and i'm not an arm expert).
in case someone cares :)
code stollen and adapted from stackless arm support [1] distrib, as
greenlet is already.

renaud

0. greenlet 0.2- Lightweight in-process concurrent programming
<http://pypi.python.org/pypi/greenlet>

1. Stackless Python
<http://www.stackless.com/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: greenlet-0.2-iphoneos.diff
Type: application/octet-stream
Size: 2095 bytes
Desc: not available
Url : http://www.telesphoreo.org/pipermail/iphone-python/attachments/20090112/84c56f45/attachment.obj 


More information about the iPhone-Python mailing list