- Jan 27, 2013
-
-
Avi Kivity authored
This allows using mutexes in the scheduler code (obviously not in any scheduling path).
-
- Jan 16, 2013
-
-
Avi Kivity authored
Not yet preemption safe.
-
- Jan 02, 2013
-
-
Avi Kivity authored
This function allows executing a block of code under a lock, with a guarantee that any exit from the block will release the lock. Examples: with_lock(my_mutex, [&] { a += b; }); return with_lock(my_spinlock, [&] { return my_list.size(); });
-
- Dec 23, 2012
-
-
Avi Kivity authored
No threading yet, so no real locking
-