In message <[email protected]>, 
[email protected] wrote:

> On 07:48 am, [email protected]_zealand wrote:
>
>>In message <[email protected]>,
>>[email protected] wrote:
>>
>>>This is a good example of why it's a bad idea to use select on
>>>Windows.
>>>Instead, use WaitForMultipleObjects.
>>
>>How are you supposed to write portable code, then?
> 
> With WaitForMultipleObjects on Windows, epoll on Linux, kqueue on BSD,
> event completion on Solaris, etc...
> 
> Sound like more work than using select() everywhere?  Yea, a bit.  But
> not once you abstract it away from your actual application code.  After
> all, it's not like these *do* different things.  They all do the same
> thing (basically) - differently.

Do you understand what “portable” means?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to