Go to advanced search

by loolooyyyy
Sun Dec 13, 2015 9:33 am
Forum: Java
Topic: Is PI4J's event listener thread-safe?
Replies: 3
Views: 1341

Re: Is PI4J's event listener thread-safe?

That ended our two weeks hassle and trouble, a thousand thanks Robert.
by loolooyyyy
Fri Dec 11, 2015 11:39 am
Forum: Java
Topic: Is PI4J's event listener thread-safe?
Replies: 3
Views: 1341

Is PI4J's event listener thread-safe?

Hi. I'm implementing a SerialDataEventListener from PI4J and need to receive packets of length 16 bytes from serial port. My listener waits until at least 16 bytes have arrived and sends those bytes to some packet processor. But I'm wondering: what if PI4J calls my listener twice for two events of -...

Go to advanced search