G
ganeshamutha
Hi all,,
I am calling a C native methode from Java in new thread... The
C function calling and doing everthing fine.. since it is a long
process i want to quit some time before it is going to terminate
itself..
So, i created a window with start, pause, resume and stop
button...
when i click the start button, the C code executing
properly... since it is calling public void run(),
/* start .....
{
nativeclass.itisthread.start();
}
but when i calling .suspend() , .resume() for the
thread to make suspend and resume respectively it is not responding...
why?
Say examply... the C code..
for(;
{
printf("I am in C.....");
}
What my question is .. how can i suspend and resume JNI the
thread ... Please help me to solve this issue..
Thanks in Advance,
ganesh.
I am calling a C native methode from Java in new thread... The
C function calling and doing everthing fine.. since it is a long
process i want to quit some time before it is going to terminate
itself..
So, i created a window with start, pause, resume and stop
button...
when i click the start button, the C code executing
properly... since it is calling public void run(),
/* start .....
{
nativeclass.itisthread.start();
}
but when i calling .suspend() , .resume() for the
thread to make suspend and resume respectively it is not responding...
why?
Say examply... the C code..
for(;
{
printf("I am in C.....");
}
What my question is .. how can i suspend and resume JNI the
thread ... Please help me to solve this issue..
Thanks in Advance,
ganesh.