Invoking time-consuming JNI task as a thread

前端 未结 4 2100
慢半拍i
慢半拍i 2021-02-10 20:10

I\'m having a tough problem with invoking a native function using JNI from a thread.

The native function is legacy code that performs a computation-intensive task. Since

4条回答
  •  孤城傲影
    2021-02-10 20:44

    Here there is a good documentation about it: Section 8.1 JNI and Threads. http://java.sun.com/docs/books/jni/download/jni.pdf

提交回复
热议问题