Im using RXTX to connect my Java application to the serial port. My need is to listen and receive data by event (probably by a sleepy thread registered on the port) and to write on the same port. The 2 data flows (in e out) are logically separated, that means i don't want not the inputstream nor the outputstream are blocking for each other.

Thats lead me to make consideration over the concurrency, since both the streams come from the same object "SerialPort", i tried to find info about this, but i cant actually reach the RXTX official Wiki (dont kow why..)

So the question is:

Are there concurrency problem over this object?
If yes, is this aspect directly managed by the RXTX library?
If is not managed by the library itself, how can i solve this issue?

thank for helping.