Brian Anderson
f3fef9a649
std: Make atomics immutable. #11583
...
In Rust, the strongest guarantee that `&mut` provides is that the memory
pointed to is *not aliased*, whereas `&`'s guarantees are much weaker:
that the value can be aliased, and may be mutated under proper precautions
(interior mutability).
Our atomics though use `&mut` for mutation even while creating multiple
aliases, so this changes them to use 'interior mutability', mutating
through immutable references.
2014-03-20 09:44:29 -07:00
..
2014-03-13 13:23:29 -07:00
2014-03-15 22:26:36 -07:00
2014-03-15 22:26:36 -07:00
2014-01-18 10:58:01 -08:00
2014-03-20 09:44:29 -07:00
2013-12-23 21:04:01 -08:00
2014-01-03 14:02:01 -08:00
2013-12-23 21:04:01 -08:00
2014-02-28 10:48:04 -08:00
2014-02-28 10:48:04 -08:00
2014-02-28 10:48:04 -08:00
2013-12-23 21:04:01 -08:00
2013-12-23 21:04:01 -08:00
2013-12-23 21:04:01 -08:00
2013-12-23 21:04:01 -08:00
2013-12-23 21:04:01 -08:00
2013-12-23 21:04:01 -08:00
2013-12-23 21:04:01 -08:00
2013-12-23 21:04:01 -08:00
2013-12-23 21:04:01 -08:00
2013-12-23 21:04:01 -08:00
2013-12-23 21:04:01 -08:00
2014-02-14 22:55:21 -08:00
2014-02-14 22:55:21 -08:00
2013-12-23 21:04:01 -08:00
2013-12-23 21:04:01 -08:00
2014-02-14 22:55:21 -08:00
2013-12-23 21:04:01 -08:00
2014-02-14 22:55:20 -08:00
2014-02-14 22:55:20 -08:00
2014-01-30 19:28:41 +02:00
2014-01-11 10:46:00 +11:00
2014-02-07 12:49:24 -06:00
2014-03-15 22:26:36 -07:00
2013-12-23 21:04:01 -08:00
2014-02-07 12:49:24 -06:00
2014-02-07 12:49:24 -06:00
2013-12-23 21:04:01 -08:00
2014-01-26 11:03:13 -08:00
2013-12-23 21:04:01 -08:00
2014-02-14 22:55:21 -08:00
2013-12-23 21:04:01 -08:00
2014-02-14 22:55:21 -08:00
2014-02-14 22:55:21 -08:00
2014-02-07 12:49:24 -06:00
2014-01-18 10:58:01 -08:00
2014-01-27 21:15:18 +01:00
2014-02-07 00:38:33 +02:00
2013-12-23 21:04:01 -08:00
2014-02-14 22:55:21 -08:00
2014-03-20 10:16:55 +01:00
2014-03-14 13:59:02 -07:00
2013-12-23 21:04:01 -08:00
2013-12-23 21:04:01 -08:00
2014-02-23 00:35:11 -08:00
2014-03-06 10:45:08 -08:00
2014-02-14 22:55:21 -08:00
2014-03-06 10:45:08 -08:00
2013-12-31 12:42:13 -08:00
2013-12-31 12:42:13 -08:00
2013-12-31 12:42:13 -08:00
2014-03-06 10:45:08 -08:00
2014-03-06 10:45:08 -08:00
2014-02-20 17:48:32 -08:00
2014-02-20 17:48:32 -08:00
2014-02-19 08:33:08 -08:00
2014-02-19 08:33:08 -08:00
2014-02-07 12:49:24 -06:00
2014-02-22 10:29:06 -08:00
2014-03-18 13:48:12 -07:00
2014-01-31 22:16:39 +11:00
2014-03-15 22:26:36 -07:00
2014-01-16 15:01:48 -08:00
2014-02-14 22:55:21 -08:00
2014-03-11 00:28:25 -07:00
2014-01-20 09:22:46 -08:00
2014-01-11 10:46:00 +11:00
2014-02-07 12:49:24 -06:00
2014-02-07 12:49:24 -06:00
2014-02-07 12:49:24 -06:00
2014-01-18 10:58:01 -08:00
2014-02-25 09:21:09 -08:00
2014-02-07 12:49:24 -06:00
2014-02-14 22:55:21 -08:00
2014-02-07 12:49:24 -06:00
2014-02-07 12:49:24 -06:00
2014-02-24 13:24:57 +13:00
2014-03-12 19:17:36 -04:00
2013-12-23 21:04:01 -08:00
2014-01-26 10:37:08 -08:00
2014-02-14 22:55:21 -08:00
2014-02-07 12:49:24 -06:00
2014-02-05 08:50:05 +13:00
2014-01-18 10:58:01 -08:00
2014-02-28 23:01:54 -08:00
2014-02-23 01:07:53 -08:00
2014-02-23 01:07:53 -08:00
2014-02-07 12:49:24 -06:00
2014-02-07 12:49:24 -06:00
2014-02-06 15:48:56 -08:00