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