select support - R_WAIT_* provides abstraction for reads