about summary refs log tree commit diff
path: root/src/rt/rustrt.def.in
AgeCommit message (Collapse)AuthorLines
2011-08-24Remove rust_start_ivecMarijn Haverbeke-1/+0
2011-08-24Optimize += [x] into a simple push operationMarijn Haverbeke-0/+1
This is a preparation for making vectors always-on-the-heap again, which would cause way too much malloc traffic for this idiom. I will add an efficient std::vec::push in the future, and migrate += [x] to that instead. Reduces compiler code size by 3%
2011-08-19rt: Remove rustboot's GC infrastructurePatrick Walton-1/+0
2011-08-18Rename some vec upcalls and trans functions from vec* to evec*Brian Anderson-0/+1
2011-08-18Remove upcall_new_vecBrian Anderson-1/+0
2011-08-17Making more of the rust_task structure directly accessible from Rust.Eric Holk-1/+0
2011-08-17Yet another comm interface.Eric Holk-3/+0
2011-08-16rt: Implement obstacks, untested as of yetPatrick Walton-0/+3
2011-08-16Removing task, chan and port upcalls.Eric Holk-17/+0
2011-08-16Accept main(args: [str]) as main signatureBrian Anderson-0/+1
2011-08-16Removed trans_comm.rs from the compiler. Updating aio/sio to work with the ↵Eric Holk-1/+0
new chan and port system, started on a networking module for the standard library.
2011-08-15Properly ref counting to fix valgrind issues on linux.Eric Holk-0/+1
2011-08-15Fixed memory accounting and task stack creation bugs.Eric Holk-0/+1
2011-08-15Working on more spawn test cases.Eric Holk-0/+1
2011-08-15Added a library version of spawn. Before long, we can remove the old version.Eric Holk-0/+5
2011-08-15Port ID-based channels.Eric Holk-0/+3
2011-08-12Rename rust_list_files_ivec to rust_list_filesBrian Anderson-1/+1
2011-08-12Remove rust_list_files from std and rtBrian Anderson-1/+0
2011-08-12Remove runtime vector builtinsBrian Anderson-8/+0
2011-08-12Remove str_from_vec runtime functionBrian Anderson-1/+0
2011-08-12Remove vec version of str::bytes, rename bytes_ivec to str::bytesBrian Anderson-1/+0
2011-08-10rustc: Remove unused "trace" upcallsPatrick Walton-2/+0
2011-08-10rustc: Use polymorphic loggingPatrick Walton-0/+1
2011-08-08rt: Stub the shape-based cmp upcallPatrick Walton-0/+1
2011-08-05Atomic ref counting for chans.Eric Holk-0/+3
2011-08-05Basic async IO module using libuvRob Arnold-0/+10
2011-08-01Added send and receive to comm library.Eric Holk-0/+2
2011-08-01Started working on a library-based comm system. Creating and deleting ports ↵Eric Holk-0/+6
work.
2011-07-29Add sched_threads rt function to get the number of scheduler threadsBrian Anderson-0/+1
2011-07-28Adding upcalls to to ref() and deref() tasks. This is the first step towards ↵Eric Holk-0/+2
atomic reference counting of tasks.
2011-07-28Adding a function to stdlib to set the min stack size, for programsEric Holk-0/+1
that absolutely will not succeed with a large default stack. This should be removed once we have stack grown working. Also updated word-count to succeed under the new test framework.
2011-07-22More work on word-count.Eric Holk-0/+1
Updated the MapReduce protocol so that it's correct more often. It's still not perfect, but the bugs repro less often now. Also found a race condition in channel sending. The problem is that send and receive both need to refer to the _unread field in circular_buffer. For now I just grabbed the port lock to send. We can probably get around this by using atomics instead.
2011-07-21Lots of work on memory tracking and channels.Eric Holk-0/+1
We're trying to get closer to doing correct move semantics for channel operations. This involves a lot of cleanup (such as removing the unused sched parameter from rust_vec constructor) and making circular_buffer kernel_owned. Added tagging for memory allocations. This means we give a string tag to everything we allocate. If we leak something and TRACK_ALLOCATIONS is enabled, then it's much easier now to tell exactly what is leaking.
2011-07-20Add a huge hack to allow the test runner to continue if a single task leaksBrian Anderson-0/+1
This is just until unwinding works. Adds a flag to the runtime to turn the memory leak checks on task destruction into warnings instead of fatal errors. I am so sorry. Issue #428
2011-07-17Revert "Add setenv to standard library"Brian Anderson-2/+0
This reverts commit 6fb168b3dbd733f6fccebd01c2e5416f800a5566.
2011-07-17Add setenv to standard libraryBrian Anderson-0/+2
2011-07-15rustc: Implement interior string logging in DPSPatrick Walton-0/+1
2011-07-15Remove task_unsupervise from rt builtin functionsBrian Anderson-1/+0
This was an exact duplicate of the unsupervise function
2011-07-14Add task_unsupervise to rustrt.def.inBrian Anderson-0/+1
2011-07-12stdlib: Move fs over to interior vectors by introducing a ↵Patrick Walton-0/+1
rust_list_files_ivec builtin
2011-07-10rt: Remove the now-unused upcall_ivec_resize and upcall_ivec_spill, which ↵Patrick Walton-2/+0
allocated from the wrong heap
2011-07-08stdlib: Implement str::unsafe_from_bytes_ivec()Patrick Walton-0/+1
2011-07-06Allocate rust_ivec buffers out of the kernel poolRob Arnold-0/+6
The duplication of upcalls is due to the fact that the runtime is shared between stage0/rustc and stage1/rustc. Once snapshots are updated, they should be de-duplicated.
2011-06-30Added a nanosecond timer to time.rs, support for some floating point casts, ↵Eric Holk-0/+1
and a commandline-driven mode for pfib.rs
2011-06-29Adding support for pinning tasks to the currently running thread. Closes #598.Eric Holk-0/+2
2011-06-29Add a runtime flag to enable/disable claims en masseTim Chevalier-0/+1
Now, if the environment variable CHECK_CLAIMS is set, then all claims turn into checks. Otherwise, claims are no-ops.
2011-06-28There is only one domain per kernel now.Eric Holk-2/+0
2011-06-20Added string duplication to deep_copy. Closes #520.Eric Holk-0/+1
2011-06-17Updating rustrt.def.in so that the path manipulation functions work on OS X.Eric Holk-0/+1
2011-06-16rustc: Implement conversions from interior vector data to unsafe pointers ↵Patrick Walton-0/+2
and vice-versa