This content has been marked as final.
Show 2 replies
-
1. Re: Accessing native library
adrian.brock Aug 4, 2003 3:08 PM (in response to feldgen)Using MBeans or JCA will make no difference.
By processes do you mean threads?
Regards,
Adrian -
2. Re: Accessing native library
feldgen Aug 6, 2003 4:45 AM (in response to feldgen)Hello warjort,
thanks for your reply, you are right, I meant threads.
With help from juha i managed to get this done via one explicit thread which access the library and one explicit thread which calls the methods on the first one.
The only bad thing is that i want to access many devices on serial ports parallel, but my actual implementation needs synchronized methods in order to hold the monitor of the thread. This leads to have one device work after the other has finnished work.
I think about redesign of this library handling and have one explicit thread per device...if the library supports this...and also one explicit thread to access it...