buf = (jbyte*) (*env)->GetDirectBufferAddress(env, buffer);
>>>>>> XS_ASSERT(buf);
>>>>>> ret = xs_send(sock, buf, length, flags);
>>>>>> return ret;
>>>>>> }
>>>>>>
>>>>>> J
jint JNICALL Java_io_crossroads_jni_XsLibrary_xs_1recv(JNIEnv*
>>>>> env,
>>>>> jobject
>>>>> obj,
>>>>>
jlong
>>>> socket,
>>>> jobject
>>>> buffer,
>>>> jint
>>>> offset,
>>>>
; jint
>>> flags)
>>> {
>>> void* sock = 0;
>>> jbyte* buf = 0;
>>> int ret = 0;
>>>
>>> sock = (void*) socket;
>>> XS_ASSERT(sock);
&g
length,
>> jint flags)
>> {
>> void* sock = 0;
>> jbyte* buf = 0;
>> int ret = 0;
>>
>> sock = (void*) socket;
>> XS_ASSERT(sock);
>> buf = (jbyte*) (*env)->GetDir
t; -Original Message-----
>> From: zeromq-dev-boun...@lists.zeromq.org [mailto:zeromq-dev-
>> boun...@lists.zeromq.org] On Behalf Of Trevor Bernard
>> Sent: Friday, February 15, 2013 2:02 PM
>> To: thecarro...@jiminger.com; ZeroMQ development list
>> Subject: Re: [
-Original Message-
> From: zeromq-dev-boun...@lists.zeromq.org [mailto:zeromq-dev-
> boun...@lists.zeromq.org] On Behalf Of Trevor Bernard
> Sent: Friday, February 15, 2013 2:02 PM
> To: thecarro...@jiminger.com; ZeroMQ development list
> Subject: Re: [zeromq-dev] Zero Copy
This would be very helpful for a project I'm working on, I'd be very
interested.
--
Find me on Cowbird: http://cowbird.com/author/dave
On Fri, Feb 15, 2013 at 11:06 AM, The Carrolls wrote:
>
> I'm thinking of extending jzmq to optionally allow the zero-copy
> technique using the concepts outli
> I'm thinking of extending jzmq to optionally allow the zero-copy
> technique using the concepts outlined by Martin Thompson here:
That's awesome
> I'm not 100% sure I'll do it, I need some more experimentation first,
> but is there any interest or words of advice if someone's tried this
> alrea
I'm thinking of extending jzmq to optionally allow the zero-copy
technique using the concepts outlined by Martin Thompson here:
http://mechanical-sympathy.blogspot.com/2012/10/compact-off-heap-structurestuples-in.html
I'm not 100% sure I'll do it, I need some more experimentation first,
but is
10 matches
Mail list logo