“Easy to program”?
Treadmarks API (Rice University)
- Memory allocation
- Tmk_malloc(unsigned size) to get shared memory
- malloc() to get private memory
- Synchronization
- Global Barriers
- Tmk_barrier(unsigned id) makes a process wait at the barrier
- Global Exclusive locks
- Tmk_lock_acquire (unsigned id)
- Tmk_lock_release (unsigned id)