ntuck@neu

Conditon Variables

Other stuff

These things are a usually bad idea compared to just using mutexes:

  • show atomic-sum101; compare to mutex and parallel versions
  • write it with pthread_spin_lock
  • write our own spinlock with atomic_compare_exchange_strong
    • need to google the docs; too new for a manpage
    • bad ideas include sched_yield