Spec-Zone .ru
спецификации, руководства, описания, API
Trail: Essential Classes
Lesson: Concurrency
Synchronization
Home Page > Essential Classes > Concurrency

Synchronization

Threads communicate primarily by sharing access to fields and the objects reference fields refer to. This form of communication is extremely efficient, but makes two kinds of errors possible: thread interference and memory consistency errors. The tool needed to prevent these errors is synchronization.


Problems with the examples? Try Compiling and Running the Examples: FAQs.
Complaints? Compliments? Suggestions? Give us your feedback.

Previous page: The SimpleThreads Example
Next page: Thread Interference