Quote from splattael :Multithreading != select Or did I miss something? Yeah ... It's opening a file in a new steam that's handled by a separate thread, and it's results are posted back asynchronously to the host application. So yes, you did miss something.
Oh, I thought stream_select() uses system's select (2) which does not use threads on UN*X but poll (epoll e.g.). Just nitpicking