Hardware Interupt Service Routine (ISR) to Java
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Pascal_Bamford
Posted On:   Sunday, June 1, 2003 09:13 PM

I am looking for an efficient way of getting a hardware ISR to communicate to Java. The hardware device is initialised via JNI, but when the ISR is called by the device there is no reference to the JNIEnv pointer in order to call any Java methods etc. I am currently modifiying a flag in the ISR which is then polled by a second JNI function, which I find ugly. I have tried maintaining a reference to the JNIEnv pointer, but everything results in a violation.

About | Sitemap | Contact