Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Dev

[Fwd: [issue6397] Implementing Solaris "poll" in the "select" module]

 

 

Python dev RSS feed   Index | Next | Previous | View Threaded


jcea at jcea

Jul 1, 2009, 10:26 AM

Post #1 of 5 (585 views)
Permalink
[Fwd: [issue6397] Implementing Solaris "poll" in the "select" module]

--
Jesus Cea Avion _/_/ _/_/_/ _/_/_/
jcea [at] jcea - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/
jabber / xmpp:jcea [at] jabber _/_/ _/_/ _/_/_/_/_/
. _/_/ _/_/ _/_/ _/_/ _/_/
"Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/
"My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
Attachments: message-rfc822.eml (2.10 KB)


guido at python

Jul 1, 2009, 7:05 PM

Post #2 of 5 (538 views)
Permalink
Re: [Fwd: [issue6397] Implementing Solaris "poll" in the "select" module] [In reply to]

The select module already supports the poll() system call. Or is there
a special variant that only Solaris has?

2009/7/1 Jesus Cea <jcea [at] jcea>:
>
> --
> Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
> jcea [at] jcea - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
> jabber / xmpp:jcea [at] jabber         _/_/    _/_/          _/_/_/_/_/
> .                              _/_/  _/_/    _/_/          _/_/  _/_/
> "Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
> "My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
> "El amor es poner tu felicidad en la felicidad de otro" - Leibniz
>
>
> ---------- Forwarded message ----------
> From: "Jesús Cea Avión" <report [at] bugs>
> To: jcea [at] jcea
> Date: Wed, 01 Jul 2009 16:49:15 +0000
> Subject: [issue6397] Implementing Solaris "poll" in the "select" module
>
> New submission from Jesús Cea Avión <jcea [at] jcea>:
>
> In Python 2.6 we added support for Linux "epoll" and *BSD "kqueue" in
> the select module. I think we should add support for Solaris "poll"
> interface too.
>
> What do you think?.
>
> I volunteer to do the work, if you agree this is a feature we want to
> have. I think so.
>
> ----------
> assignee: jcea
> components: Library (Lib)
> messages: 89989
> nosy: jcea
> severity: normal
> stage: needs patch
> status: open
> title: Implementing Solaris "poll" in the "select" module
> type: feature request
> versions: Python 2.7, Python 3.2
>
> _______________________________________
> Python tracker <report [at] bugs>
> <http://bugs.python.org/issue6397>
> _______________________________________
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev [at] python
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org
>
>



--
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


alexandre at peadrop

Jul 1, 2009, 7:55 PM

Post #3 of 5 (541 views)
Permalink
Re: [Fwd: [issue6397] Implementing Solaris "poll" in the "select" module] [In reply to]

On Wed, Jul 1, 2009 at 10:05 PM, Guido van Rossum<guido [at] python> wrote:
> The select module already supports the poll() system call. Or is there
> a special variant that only Solaris has?
>

I think Jesus refers to /dev/poll—i.e., the interface for
edge-triggered polling on Solaris. This is the Solaris equivalent of
FreeBSD's kqueue and Linux's epoll.

-- Alexandre
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


jcea at jcea

Jul 2, 2009, 2:52 AM

Post #4 of 5 (525 views)
Permalink
Re: [Fwd: [issue6397] Implementing Solaris "poll" in the "select" module] [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexandre Vassalotti wrote:
> On Wed, Jul 1, 2009 at 10:05 PM, Guido van Rossum<guido [at] python> wrote:
>> The select module already supports the poll() system call. Or is there
>> a special variant that only Solaris has?
>>
>
> I think Jesus refers to /dev/poll—i.e., the interface for
> edge-triggered polling on Solaris. This is the Solaris equivalent of
> FreeBSD's kqueue and Linux's epoll.

Yes. In python 2.6, Linux and *BSD benefice of access to high performing
"poll"-like interfaces, non portable. Solaris has "/dev/poll" too, so we
can provide another non-portable interface :). In fact I think it could
be interesting to investigate the direct use of "/dev/poll" in Solaris
under "select.poll" implementation, if available, in a transparent way.
With this could be possible to improve efficiency without adding another
non-portable interface.

But before investigating options, I want to know if there is interest on
it. I think so, because Solaris/OpenSolaris is an important platform, I
will take care of the code, and we already have non-portable interfaces:
"select.epoll" for Linux and "select.kqueue" for *BSD.

- --
Jesus Cea Avion _/_/ _/_/_/ _/_/_/
jcea [at] jcea - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/
jabber / xmpp:jcea [at] jabber _/_/ _/_/ _/_/_/_/_/
. _/_/ _/_/ _/_/ _/_/ _/_/
"Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/
"My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBSkyDXZlgi5GaxT1NAQJSawP/SUf2AVfzYbqv8F3zZjNBspFu5c3bYVEK
6A2YSW0WIrNiQtcI9Ka99dCCzHI6cwohlDhxQddJEG4w30hewsFBFJqftSpPLhkv
ToSUNDYe37QmRgVrcns//repWoaMwsrt8MMQU6MLb9pyaoT4Pffe1vcbqg+/XgUN
EJENI7BjSOw=
=BTMr
-----END PGP SIGNATURE-----
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


greg at krypto

Jul 2, 2009, 3:41 PM

Post #5 of 5 (537 views)
Permalink
Re: [Fwd: [issue6397] Implementing Solaris "poll" in the "select" module] [In reply to]

On Thu, Jul 2, 2009 at 2:52 AM, Jesus Cea<jcea [at] jcea> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Alexandre Vassalotti wrote:
>> On Wed, Jul 1, 2009 at 10:05 PM, Guido van Rossum<guido [at] python> wrote:
>>> The select module already supports the poll() system call. Or is there
>>> a special variant that only Solaris has?
>>>
>>
>> I think Jesus refers to /dev/poll—i.e., the interface for
>> edge-triggered polling on Solaris. This is the Solaris equivalent of
>> FreeBSD's kqueue and Linux's epoll.
>
> Yes. In python 2.6, Linux and *BSD benefice of access to high performing
> "poll"-like interfaces, non portable. Solaris has "/dev/poll" too, so we
> can provide another non-portable interface :). In fact I think it could
> be interesting to investigate the direct use of "/dev/poll" in Solaris
> under "select.poll" implementation, if available, in a transparent way.
> With this could be possible to improve efficiency without adding another
> non-portable interface.
>
> But before investigating options, I want to know if there is interest on
> it. I think so, because Solaris/OpenSolaris is an important platform, I
> will take care of the code, and we already have non-portable interfaces:
> "select.epoll" for Linux and "select.kqueue" for *BSD.

+1 I'm sure *Solaris users would appreciate this. Go for it.

>
> - --
> Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
> jcea [at] jcea - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
> jabber / xmpp:jcea [at] jabber         _/_/    _/_/          _/_/_/_/_/
> .                              _/_/  _/_/    _/_/          _/_/  _/_/
> "Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
> "My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
> "El amor es poner tu felicidad en la felicidad de otro" - Leibniz
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iQCVAwUBSkyDXZlgi5GaxT1NAQJSawP/SUf2AVfzYbqv8F3zZjNBspFu5c3bYVEK
> 6A2YSW0WIrNiQtcI9Ka99dCCzHI6cwohlDhxQddJEG4w30hewsFBFJqftSpPLhkv
> ToSUNDYe37QmRgVrcns//repWoaMwsrt8MMQU6MLb9pyaoT4Pffe1vcbqg+/XgUN
> EJENI7BjSOw=
> =BTMr
> -----END PGP SIGNATURE-----
> _______________________________________________
> Python-Dev mailing list
> Python-Dev [at] python
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/greg%40krypto.org
>
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com

Python dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.