When the scheduler (#15, #46) is finished it would be nice to have some synchronization primitives such as guaranteed atomic operations, locks, etc. @timanema has expressed some interest in working on this, so I'll assign him for now.