r=select([f,s],[],[])[0][0]. Does this mean wait until the file pointed to by f AND s is ready for readiing or f OR s is ready for reading?
r=select([f,s],[],[])[0][0].
The latter, although both may be returned if they're both ready for reading.