The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 JSR 133 in Public Review
Subject:  The new semantic on volatile very useful for RTJS
Date:  2004-06-17 17:17:14
From:  dautelle


The new semantic on volatile is going to be very useful for NoHeapRealtimeThread (ref. Real-Time Java Specification JSR-001). Indeed, this thread is not supposed to synchronize with heap-using threads (otherwise it could be blocked by GC).
The new semantic on volatile saves the day!
It is now possible to share data between all threads including real-time threads using volatile "guards" variable. For details and examples, I would recommend reading JADE Real-Time FAQ Item 8 at http://jade.dautelle.com/api/com/dautelle/realtime/package-summary.html#FAQ

 Feed java.net RSS Feeds