Re: NIO (Non-block & Scatter/Gather)

2006-01-12 Thread Guilhem Lavaux
Archie Cobbs wrote: Robert Schuster wrote: These macros look strange to me. What do our JNI experts say? +/* FIXME: This can't be right. Need converter macros */ +#define CONVERT_JINT_TO_INT(x) ((int)(x & 0x)) +#define CONVERT_INT_TO_JINT(x) ((int)(x & 0x)) + +/* FIXME: This

Re: NIO (Non-block & Scatter/Gather)

2006-01-12 Thread Archie Cobbs
Robert Schuster wrote: These macros look strange to me. What do our JNI experts say? +/* FIXME: This can't be right. Need converter macros */ +#define CONVERT_JINT_TO_INT(x) ((int)(x & 0x)) +#define CONVERT_INT_TO_JINT(x) ((int)(x & 0x)) + +/* FIXME: This can't be right. Need

Re: NIO (Non-block & Scatter/Gather)

2006-01-12 Thread Robert Schuster
Hi Michael. Michael Barker wrote: > Hi, > > My name is Mike Barker. I am interesting in contributing to the GNU > Classpath project. Cool! > As a start I have looked the NIO implemenation with > regards to Channels (specifically SocketChannel). Yes, that is an area that definitely needs some

Re: NIO (Non-block & Scatter/Gather)

2006-01-12 Thread Mark Wielaard
Hi Mike, On Wed, 2006-01-11 at 22:26 +, Michael Barker wrote: > My name is Mike Barker. I am interesting in contributing to the GNU > Classpath project. As a start I have looked the NIO implemenation with > regards to Channels (specifically SocketChannel). Very cool! > Attached to this m

NIO (Non-block & Scatter/Gather)

2006-01-11 Thread Michael Barker
Hi, My name is Mike Barker. I am interesting in contributing to the GNU Classpath project. As a start I have looked the NIO implemenation with regards to Channels (specifically SocketChannel). Attached to this mail is a patch that adds support for configuring a socket to be non-blocking and u