Tentative workaround for the random hangs on windows.
authorRomain Pokrzywka <romain@kdab.com>
Sun, 3 Oct 2010 23:46:42 +0000 (01:46 +0200)
committerRalf Habacker <ralf.habacker@freenet.de>
Fri, 8 Oct 2010 12:37:53 +0000 (14:37 +0200)
commit6611816694ef5602f42fb66fafe86363d22eacfa
treed86e3c827ca063089684ec9189403e3995469e49
parent2e134dd74ce3905ba867e2d1fc5a30943cabb026
Tentative workaround for the random hangs on windows.

The problem seems to be a race condition with winsock's
internal threads for the non-blocking mode of the sockets,
but I haven't had time to try a standalone test case yet
to confirm it. Anyway, I found a workaround that fixes it
in all cases, so it's good enough for now.
dbus/dbus-sysdeps-win.c