bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mingw32 and sockets


From: Bruno Haible
Subject: Re: mingw32 and sockets
Date: Tue, 27 Sep 2005 17:52:19 +0200
User-agent: KMail/1.5

Ingolf Steinbach wrote:
> I have done a select() emulation on Win32 once. It was horrible.
> If you want to avoid multithreading ...

Things get simpler if you accept the need to create new threads on Woe32.
Another example of this is that if you want to handle Ctrl-C gracefully
(i.e. do something particular but not kill the program), you need to
create threads.

Threads are a new API you have to learn the first time you use it. But they
are a basic part of Woe32. And of BeOS as well, by the way: on BeOS, socket
functions like recv() and send() are implemented through an extra thread.

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]