I have call the same native method from several threads under several
different JDK's and have not had any such problems.  I am not sure that
Blackdown's 1.2 with native threads is in the list of JDK's I have used.  Not,
that I think the JDK is the problem I just do not want to imply that I have tested
this scenario.

Robert Perry

Jacob Nikom wrote:

> I don't think there is any limitations on the number of calls of C routine.
> I call my C routine from Java thousand times without any problem. Look
> for something else - memory problem of threads. Do you call your routine
> from the main tread or you created separate one?
>
> Jacob
>
> "Nagaraj S.B" wrote:
>
> > Hi all,
> > Thanks for helping me in interfacing C with Java.I am facing a problem
> > in executing my program(java) which calls a 'C' function.
> > I am calling 'C' native method for every 10 secs in my 'java' program ,
> > but after first loop, my program(java) exits by giving
> > SIGSEV 11* Segmentation violation .................
> > How to call same native method for more than one time ?.
> > Thanks in advance,
> > --
> > Nagaraj S.B.
> > Bells Softech Ltd,Bells House,1036,
> > 26th Main,4th 'T' Block,
> > Jayanagar, Banglore - 560 041.Ph.No.:6650084/33.
> >
> > ----------------------------------------------------------------------
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to