Re: select.poll and ppoll

2015-10-22 Thread Paul Rubin
Steven D'Aprano writes: > I have select.poll, but I'm looking for something like ppoll instead. From > the Linux man page: I don't understand your post: do you have a question? Also I thought the current preferred practice was to use epoll. --

Re: select.poll and ppoll

2015-10-22 Thread Marko Rauhamaa
Steven D'Aprano : > I have select.poll, but I'm looking for something like ppoll instead. From > the Linux man page: > >ppoll() >The relationship between poll() and ppoll() is analogous to the >relationship between select(2) and

Re: select.poll and ppoll

2015-10-22 Thread Laura Creighton
In a message of Thu, 22 Oct 2015 16:38:52 +1100, "Steven D'Aprano" writes: >Using Python 2.6, don't hate me. >Technically, *I* don't want this, it's one of my work-colleagues. He says: > >"My high-level goal is to run a callback function whenever the alsa mixer >level changes. The C alsa API

select.poll and ppoll

2015-10-21 Thread Steven D'Aprano
Using Python 2.6, don't hate me. I have select.poll, but I'm looking for something like ppoll instead. From the Linux man page: ppoll() The relationship between poll() and ppoll() is analogous to the relationship between select(2) and pselect(2): like pselect(2),