This is the mail archive of the java-patches@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Win32 bits and bobs


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]