Jni and threads

2001-02-28 Thread Evagelia Triantafillou
Hello, I have a C routine for image segmentation and I use it through the JNI. Each of the four threads used, reads a diffrent image, it segments the image, extracts some features and returns them to the Java program.But unfortunately the threads can not work together.Has anyone an idea of

Re: JNI and Threads

2001-02-23 Thread Nathan Meyers
Valerio Ferrucci wrote: > Hi, > I'm building a mutli thread C application using JNI and Invocation API to load > Java Virtual Machine and call Java code. > To launch a new thread I used the call: > > pthread_create > > Now that I link JNI, whit which call have I to substitute "pthread_create"? >

JNI and Threads

2001-02-22 Thread Valerio Ferrucci
Hi, I'm building a mutli thread C application using JNI and Invocation API to load Java Virtual Machine and call Java code. To launch a new thread I used the call: pthread_create Now that I link JNI, whit which call have I to substitute "pthread_create"? That is, how can I launch a new thread wi