Python Port eventletgreenlet to ARM processor » History » Version 2
Anonymous, 04/19/2012 03:30 PM
Milestone
1 | 1 | Eventlet/greenlet is used for turning non-blocking operations in blocking operations and vice-versa using twisted. Currently it does not compile on ARM processors. Patches have been submitted to to py project where the c-extension of the greenlet is maintained. |
|
---|---|---|---|
2 | |||
3 | The patch must be applied to greenlet repository located at http://pypi.python.org/pypi/greenlet. |
||
4 | |||
5 | Denis asked the developer to integrate the patch but got no response. |
||
6 | |||
7 | 2 | <pre> |
|
8 | 1 | ---------- Forwarded message ---------- |
|
9 | From: Denis Bilenko <denis.bilenko@gmail.com> |
||
10 | Date: Tue, Apr 14, 2009 at 2:09 PM |
||
11 | Subject: patch for greenlet to work on ARM / Nokia N810 tablet |
||
12 | To: bob@redivi.com |
||
13 | |||
14 | |||
15 | Hi Bob, |
||
16 | |||
17 | I have a patch for greenlet, could you please apply it? |
||
18 | |||
19 | Your email is the only one that is mentioned on |
||
20 | http://pypi.python.org/pypi/greenlet |
||
21 | and the py library does not include py.magic.greenlet since 1.0.0, |
||
22 | which is why I have |
||
23 | not sent the patch to their mailing list. |
||
24 | |||
25 | The patch makes greenlet compilable on Nokia N810 internet tablet and |
||
26 | probably other ARM devices. |
||
27 | We were able to run eventlet here and SIP/MSRP IM client |
||
28 | (http://sipsimpleclient.com/) which uses it. |
||
29 | |||
30 | I basically just copied switch_arm32_gcc.h from stackless and made it |
||
31 | used if __arm__ is defined |
||
32 | (although not __arm32__ like stackless does, that one is not defined |
||
33 | for that architecture). |
||
34 | |||
35 | Thanks, |
||
36 | Denis. |
||
37 | 2 | </pre> |