Re: [gnet] free heap block



On Sat, 2004-08-21 at 10:13 -0400, Andrewlanoix aol com wrote:

> The problems with the glib iochannels on windows is not so simple to describe
> as completely broken, for they are not. What Tor and I are saying is more
> nuanced -- that is the UNIX APIs allow things that we canʼt support on windows. 

Sorry, I didn't mean to sound harsh, if that's how I came across. The
last time I tried using GIOChannels on windows, though, it would work,
but crashed or hung my application frequently, and it seemed to be a
product of race conditions in the win32 GIOChannel code (the same code
ran fine on Unix/Linux). So that's where the "almost useless" came from.

I spent some time trying to debug it, but since I'm not well versed in
the surrounding GMainLoop framework, and debugging on windows is hard, I
settled for writing my own layers (treating files and sockets
separately), which work fine for my purposes.

-- 
Hans Petter




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