[gnet-dev] Re: [gimpwin-dev] Windows sockets
- From: Tor Lillqvist <tml iki fi>
- To: gimpwin-dev yahoogroups com
- Cc: gnet-dev gnetlibrary org
- Subject: [gnet-dev] Re: [gimpwin-dev] Windows sockets
- Date: Thu, 7 Mar 2002 23:31:22 +0200 (FLE Standard Time)
Andrew J. Lanoix writes:
> Basically the way all of glib's iochannels work on windows is that a thread
> is started to wait for activity for each channel. In the case of a sockets
> it wait on a select(), all other channels the thread does a busy
> wait.
Sorry, but the threads certainly don't busy wait. For sockets, as you
say the thread is blocked on select(), and for file descriptors the
thread is blocked on read().
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]