We show how formal methods can be used to model multi-threading in Java and provide useful insights into developing programs using multi-threaded objects. In particular, we will give an example of how deadlock can be avoided. The formalism used is that of action systems.
Index Terms:
Java, objects, deadlock, multi-threading, formal methods, refinement, action systems.
Citation:
Axel Wabenhorst, John Potter, "Modelling Multi-Threading in Java," tools, pp.153, Technology of Object-Oriented Languages and Systems - Tools-25, 1997