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