status of poll/select in procfs

From: Alban Crequy
Date: Thu Jan 06 2005 - 11:53:23 EST


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

--
Alban Crequy

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




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/