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

Reply via email to