[SDL] select() portability
slouken at devolution.com
Fri Dec 11 09:42:00 PST 1998
> Our application is relyingheavily on "select()" to listen to several
> pipes/fd for events/messages. Somehow I will have to listen
> to the SDL events with select()...
BTW, I don't know if you care, but this isn't portable to Win32.
The best way is to have a global (or several global) event queues,
and manage them with semaphores. I think this is faster than pipes
and select(), but I'm not sure.
-Sam Lantinga (slouken at devolution.com)
Author of Simple DirectMedia Layer -
More information about the SDL