jni and threads
From: Thomas Smith (thomas.smith_at_cox.net)
Date: 10/15/04
- Previous message: Kevin Passey: "Re: Calling Windows Exe from within Java prog"
- Next in thread: Gordon Beaton: "Re: jni and threads"
- Reply: Gordon Beaton: "Re: jni and threads"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 15 Oct 2004 14:07:23 -0400
I am building a binding to a runtime engine that was written in C++.
I have no problems setting up the mapping from object calls to the native
implementation, and storing reference to those objects. The problem comes
when I start a new thread... The new thread does not have access to the
same memory, and I end up with a pointer to dead space. Has anyone out
there run in to this problem and have an answer? Actually, it doesn't
matter if you have run into this problem, any answer would be helpful. I
should mention that I don't code in C++ normally, and therefore don't code
well when I have to...
-- Thomas W. Smith Senior Java Engineer
- Previous message: Kevin Passey: "Re: Calling Windows Exe from within Java prog"
- Next in thread: Gordon Beaton: "Re: jni and threads"
- Reply: Gordon Beaton: "Re: jni and threads"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]