threads: add per-thread "return" values for 'model-checking/user context' switch
authorBrian Norris <banorris@uci.edu>
Tue, 3 Jul 2012 23:31:45 +0000 (16:31 -0700)
committerBrian Norris <banorris@uci.edu>
Sat, 7 Jul 2012 00:28:03 +0000 (17:28 -0700)
The model-checker needs to return a value to the user context when performing
atomic loads, for instance. I will be implementing this by caching the return
value on a per-thread basis. This is because an atomic_load() might result in a
context switch before actually returning the value.

These functions are not yet used.


No differences found