Skip to contentSkip to conversation

status of poll/select in procfs

DISCUSSION Alban Crequy 1 participant 1 message Jan 6, 2005

lore
Share & tools
lore
#0 lore raw

I wonder what is the status of the poll/select syscalls with procfs:
should work, not tested or unwanted feature?

My tests say that some procfs' files work with select and some don't.

I've read the [1] thread.

This is a real-life issue for some interpretors since users threads may be implemented with select in order to avoid one user thread blocking others user threads. Ruby does that.

For example, some Ruby users report [2] [3] [4] that bugs are coming from bug in procfs-select.

[1] http://www.issociate.de/board/post/28768/%5BPATCH_md_0_of_2%5D_Introduction.html
[2] http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/109668
[3] http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/110600
[4] (fr) http://linux.ensimag.fr/lists-archives/liste/2005-January/001396.html

Signature · 3 lines
Alban Crequy

PS: please CC: me as I am not subscribed to the list.