Java is remarkable for threads being built into the language
|
Threads are processes which are typically "light-weight" (unlike UNIX processes) which communicate by a combination of shared memory and messaging
-
This communication mechanism is what you get from natural access to methods and variables in Java classes
|
The Java Threads do not give all you want and for those coming from an HPCC background, we note Java threads have no immediate support for some key parallel computing concepts (see work of Chandy at Caltech) and distributed memory (threads running in separate operating system instances)
|
Java threads are based on basic monitors ("lock mechanism") for synchronization which was introduced by Hoare
|