commit | 22f0bb5d78af71c74ba6af90345805a2b4782dd6 | [log] [tgz] |
---|---|---|
author | Darren Hart <dvhltc@us.ibm.com> | Mon Nov 23 13:36:26 2009 -0800 |
committer | Darren Hart <dvhltc@us.ibm.com> | Mon Nov 23 13:36:26 2009 -0800 |
tree | 09d7ae511f66a90d228213147981243f0db164e3 | |
parent | e6f351a97480f4e6ed17d379006e654a7c25af23 [diff] |
Return futex value from futex atomic operations Update the futex atomic operations to return the value of the futex after the operation (with the exception of cmpxchg which returns the old value). Update futex_cmpxchg() to return u_int32_t instead of futex_t to avoid compiler warnings regarding the volatile keyword with gcc 4.2 (but not 4.1 or 4.4 oddly enough). Signed-off-by: Darren Hart <dvhltc@us.ibm.com>