TreadMarks provides primitives similar to those used in hardware shared memory machines. |
Application processes synchronise via two primitives: barriers and mutex locks. |
Barriers |
The routine Tmk_barrier(i) stalls the calling process until all processes in the system have arrived at the same barrier. |