]> git.lizzy.rs Git - rust.git/commit
auto merge of #6732 : Aatch/rust/atomic-types, r=brson
authorbors <bors@rust-lang.org>
Sat, 25 May 2013 21:13:55 +0000 (14:13 -0700)
committerbors <bors@rust-lang.org>
Sat, 25 May 2013 21:13:55 +0000 (14:13 -0700)
commit270627131753c5fe742943e02ff21446aabca103
treec82d64feffc692126df64dbadcdfe028244f8843
parent9d37d038fef95408bffadc8701adcd7b5a663894
parent523360415cca24ac0cbd198804d797dd05c48559
auto merge of #6732 : Aatch/rust/atomic-types, r=brson

This pull request is more of an RFC than a finished implementation.

It adds some basic atomic types, with an interface modelled off of C++11's atomic types.

It also adds free functions that provide a slightly nicer interface for atomic operations, though they are unsafe because there isn't a way to be generic over "word-sized" types.

See also #5042