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

Re: question about portability



On Wed, 02 Feb 2000 11:00:12 +0100, lists@nuts.netplace.de wrote:
> On Mon, Jan 31, 2000 at 10:20:47PM -0800, Timothy M. Shead wrote:
>> I use GTK+ extensively for cross-platform work under Linux & Windows, and
>> Tor's port works extremely well.
>> 
> I use it too, but I noticed that all "gdk_input_add" stuff is not
> correctly working. Also I heard that there a problems with select()
> (which most likely cause the problem with gdk_input_add".
> 
> I am really looking to get the gdk_input_add working (I do spawn a lot
> of subprocesses)... 
> Perhaps its because Tor used a MS-compiler for his port? Using cygwin
> should allow selects just nicely.

It's because select() is a Unix specific way to see if a file descriptor
is ready. Windows has its own incompatible way of doing it. "Those who
don't understand Unix are condemned to reinvent it, poorly." (don't know
whose quote this is).


Erik

-- 
The Hitchhiker's Guide to the Galaxy about Microsoft products: It is
very easy to be blinded to the essential uselessness of them by the
sense of achievement you get from getting them to work at all. In
other words---and this is the rock-solid principle on which the whole
of the Corporation's Galaxywide success is founded---their fundamental
design flaws are completely hidden by their superficial design flaws.
 -- Anonymous; based on Douglas Adams, The Hitch Hikers Guide to the Galaxy





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