N
nassim.bouayad-agha
Hi!
I have a big problem with JNI.If I call a native function that contains
a loop, the CPU usage reaches 100%. I tryed the native function from a
native application,and the CPU usage is normal...I found a way to fix
that(By using native call and then callback from native environement
for notification) but I want the Java to be blocked until the function
returns.
I am using a multithreaded DLL.
Any idea?
Thank you in advance.
Nassim.
I have a big problem with JNI.If I call a native function that contains
a loop, the CPU usage reaches 100%. I tryed the native function from a
native application,and the CPU usage is normal...I found a way to fix
that(By using native call and then callback from native environement
for notification) but I want the Java to be blocked until the function
returns.
I am using a multithreaded DLL.
Any idea?
Thank you in advance.
Nassim.