|
From: Nikodemus S. <nik...@ra...> - 2008-10-28 10:37:34
|
On Thu, Oct 2, 2008 at 9:08 AM, Ilya Zvyagin <mas...@gm...> wrote: > I have a question about SBCL on Win32. > I'm trying to figure out if sb-unix:unix-select work on Win32. > I need it to get one library, CLORB, working on Win32, too. What exactly is it that CLORB needs? Does it call unix-select directly? A pointer to CLORB source where the dependency occurs would be appreciated. > I wrote a test and found sb-unix:unix-select working on linux > and not working on win32. I've built 1.20 from sources both > for pure win32 and in cygwin, using default guessed configurations. Please post your test-case. (So we can agree that it tests the right thing, and hopefully so that someone can use it to drive the Win32 work needed.) > But as I have found, sbcl executable built in cygwin does not > depend on cygwin DLL, so I suspect SBCL does not have a special > configuration for Cygwin. Correct. > What about sb-unix:unix-select, I know that it could have worked > on Win32 or on win32 with cygwin at least for TCP/IP sockets > as win32 provides this functionality. Providing supported a select() interface for Win32 as well as *nix platforms is certainly possible, but it is not going to be UNIX-SELECT. (Maybe SB-SYS:FD-STREAM-SELECT?) Tangentially related: energetic Windows hackers wanting to make FD-STREAMs use HANDLEs on Windows instead of fds would still be much appreciated. Actually, make that energetic Windows hackers in general. :) Cheers, -- Nikodemus |