commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@vafer.org>
Subject Re: [javaflow] - how to use continuation in JNI boundary
Date Sat, 20 Jan 2018 17:12:59 GMT
Hey Cristian,

you have to think of javaflow continuations of having multiple ways of
running through the "run" function with different entry and exit points.

What should/will work is:

  run() {
    native_func();
    Continuation.suspend();
    native_func();
    Continuation.suspend();
  }

I am not quite sure what you are trying to do with your setup. Why
callbacks in a continuation world?
Keep in mind that the native code is not instrumented.

cheers,
Torsten

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message