You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ken Giusti (JIRA)" <ji...@apache.org> on 2014/10/24 15:29:33 UTC

[jira] [Resolved] (QPID-5790) Python client should prefer select() to poll() if patched by eventlet

     [ https://issues.apache.org/jira/browse/QPID-5790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ken Giusti resolved QPID-5790.
------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: Future)
                   0.30

> Python client should prefer select() to poll() if patched by eventlet
> ---------------------------------------------------------------------
>
>                 Key: QPID-5790
>                 URL: https://issues.apache.org/jira/browse/QPID-5790
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Python Client
>    Affects Versions: 0.28
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>             Fix For: 0.30
>
>
> QPID-5588 avoids a limitation on the use of file descriptors > 1024 in value by using poll() instead of select() when poll is available.  However, the eventlet greenthreads library does not work with poll, only select.  Clients that use eventlet greenthreads will fail to operate properly with the qpid python client.
> As the fix to QPID-5588 dynamically chooses either select or poll based on poll's availability, it should be possible to enhance this check to also determine if the select() method has been provided by greenthreads, and, if so, use select() instead of poll().  This would allow greenthreaded clients to work properly.
> for more information regarding greenthreads, see http://eventlet.net/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org