How would one synchronize one real-time thread with a normal thread in Java? Take for example a real-time thread that calculates some temperatures and the GUI thread that has to collect those numbers and show them on some controls.
The implementation of the real-time library shouldn't matter as it should follow the specifications.
To use real-time threads you need Real Time Java on real time operating system. http://java.sun.com/javase/technologies/realtime/index.jsp
However if you have a thread which is latency sensitive, I suggest you;