about summary refs log tree commit diff
path: root/src/rt/sync/rust_thread.cpp
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-10-18 01:14:47 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-10-22 13:47:08 -0400
commit38c620e75829b2eb09417479aa8c1e2dd69c8d7e (patch)
tree88c400a1fd269df8181c608c68779f43287e6d15 /src/rt/sync/rust_thread.cpp
parentcd8c7cf61239d4f23868b8765207026f602a79db (diff)
downloadrust-38c620e75829b2eb09417479aa8c1e2dd69c8d7e.tar.gz
rust-38c620e75829b2eb09417479aa8c1e2dd69c8d7e.zip
add feature gate for managed boxes
I'll flip this on after doing a snapshot. This syntax may or may not
stay around, and managed boxes are currently not very useful. They have
the same overall performance characteristics as `std::rc::Rc`, but are
significantly slower, allocate larger boxes and hold onto the memory
beyond when it is needed due to lacking move semantics.

There are currently two useful aspects of the type:

* the dereference sugar, which we should implement for `Rc`
* the annihilator freeing cycles at the end of the task
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions