summary refs log tree commit diff
path: root/src/rt/rust_builtin.cpp
AgeCommit message (Collapse)AuthorLines
2010-08-12Add vec debugging utility to _vec module.Roy Frostig-1/+18
2010-08-11Added support for task sleeping in the scheduler.Michael Bebenita-0/+7
2010-08-11Remove commented-out code that slipped in during last commit.Roy Frostig-16/+0
2010-08-11Add native vec[u8] to str converter. Put in workaround for leak in str to ↵Roy Frostig-19/+68
vec[u8] converter. Add testcase exercising both. Drive-by fix a potential array-out-of-bounds write on rust_str buffers.
2010-08-06Implement _str.len() to return the number of bytes, rename it to byte_len(),Jeffrey Yasskin-0/+6
and add a test.
2010-08-04Add a buffered writer to stdlib _io module.Roy Frostig-2/+2
2010-07-25vec_alloc takes four arguments these days, not three.Roy Frostig-1/+1
2010-07-25Expose an RNG (the one used by our runtime) to Rust via std.Roy Frostig-0/+25
2010-07-22Notify copy glue of dst-initialization and fix _vec.alloc issues in lib and ↵Roy Frostig-5/+5
runtime. Closes #109.
2010-07-19Added a message passing system based on lock free queues for inter-thread ↵Michael Bebenita-2/+2
communication. Channels now buffer on the sending side, and no longer require blocking when sending. Lots of other refactoring and bug fixes.
2010-07-05Change from 'spawner' to 'supervisor' in rust_task, and add an unsupervise call.Graydon Hoare-0/+5
2010-07-05Divide vec fill by element size when reporting vec len.Graydon Hoare-1/+1
2010-06-25Add callable gc method exposed to user code, use it in mlist-cycle.rs test ↵Graydon Hoare-0/+5
(still not quite working; some memory corruption in the recursive tag constructors, not the GC)
2010-06-23Populate tree.Graydon Hoare-0/+129