Platon Fomichev wrote:
> 
> As for patched EMX build what does it use now? Mutexed
> select() or bsd_select() from IBM?
> You and I long ago discussed that the only salavtion is going to
> bsd_select() so for us there is no other way but to get that one for work.

I built with -DBSD_SELECT so it should be using the mutexed version.

Not sure what you mean by "bsd_select() from IBM". When the NSPR code
was released in '98, it had two paths for OS/2 builds: -DBSD_SELECT and
the default, which uses IBM's supposedly faster (and presumably
threadsafe?) select() aka os2_select() with number of sockets and a long
instead of fdsets and struct timeval as params, The default path was
already broken, so we took the BSD_SELECT route because it worked and we
had more important priorities. Several months ago Javier or someone else
at IBM fixed the old OS/2 select() path and it became the default for
vacpp builds. I got it to build with emx, but not yet working; I suspect
I somehow messed up in the socket handle conversion but haven't yet had
a chance to debug. That situation has now been complicated by the
changes I noticed in os2sock.c and os2poll.c, and the apparent stack
problems with the non-BSD_SELECT path. My understanding has been that
os2_select() path is also the one we want to use.

h~

Reply via email to