Win32 bits and bobs

Jeff Sturm jsturm@sigma6.com
Wed Mar 15 14:28:00 GMT 2000


Tom Tromey wrote:
[...]
> Second, I'm interested in seeing if we can find a way to make a nicer
> abstract API to the signal handling code, so that the Windows and
> POSIX ports don't need Windows-specific stuff in prims.cc.

Good idea.  It seems like a generic initialization routine and generic
callback function should be adequate.  But the existing POSIX signal
stuff isn't pretty, so there wasn't much to go from.

Also I don't really like the way WSAStartup() is being called from
prims.cc.  That should be deferred until if/when somebody uses
java.net.  Probably a static intializer somewhere in java.net would do
the trick.

I'll try to submit a patch, if somebody doesn't beat me to it...

-- 
Jeff Sturm
jsturm@sigma6.com


More information about the Java-patches mailing list