Synchronization question
"Massimo Piovera" <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <000101c3f179$f33e2960$2b00a8c0@ws19> |
Hi, I'm using tini1.02f. I have a question about synchronization (probably pure java problem). I have made a class with some static methods and inside of it I use I2CPort to access to our hardware resource. Inside every methods, I use the I2Cport object to synchronize the use of the I2c bus. This allows to avoid that 2 simultaneous access to some of the methods of the class can create a conflict on the I2c bus. If I run my application 2 time simultaneously (from 2 telnet session), I see that synchronization not happens and there is a simultaneous access to the I2c bus. Is there a mode to avoid this situation between 2 different processes or the synchronization is allowed only inside a single process (multi threads)? Thanks Massimo Piovera ELSIST Srl _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini