summary refs log tree commit diff
path: root/src/rt/rust_builtin.cpp
AgeCommit message (Collapse)AuthorLines
2012-03-05rt: Renome rust_task::lock to port_lockBrian Anderson-2/+2
2012-03-05Remove dead code from rt (debug_obj, rust_obj, rust_closure, rust_box_obj, ↵Graydon Hoare-22/+0
rust_vtable)
2012-03-02rt: Port ref counts are protected by the task lock. Ick.Brian Anderson-1/+1
2012-03-02retool inline encoding to handle methods, fix testsNiko Matsakis-5/+0
2012-02-29add the ability to snag the frame so we can verify that we are inliningNiko Matsakis-0/+6
2012-02-20core: New task APIBrian Anderson-0/+9
2012-02-18rt: rename nano_time() builtin to match time::precise_time_ns()Chris Peterson-1/+1
2012-02-18std: Fix Windows system time conversion for get_time()Chris Peterson-11/+14
2012-02-16rt: Add rust_port_select functionBrian Anderson-0/+8
2012-02-14rt: Don't kill tasks while they are in a callback from CBrian Anderson-1/+1
2012-02-14rustc: Translate crust functionsBrian Anderson-2/+2
2012-02-14rt: Add a Rust callback debugging functionBrian Anderson-0/+7
2012-02-09rt: Remove rust_task_user structBrian Anderson-1/+1
2012-02-09rt: Remove unused builtinsBrian Anderson-26/+0
2012-02-09rt: Add a function for configuring task notificationBrian Anderson-0/+10
2012-02-09fix build on freebsdJyun-Yan You-0/+4
2012-02-08core: Add a test for blocking in native codeBrian Anderson-0/+40
2012-02-08core: Add task::spawn_schedBrian Anderson-1/+1
This function creates a new scheduler with a specified number of threads and immediately executes a task on it. The scheduler is configured to terminate when the task dies. This is the minimum API necessary to enable blocking C calls.
2012-02-08rt: Export a scheduler APIBrian Anderson-1/+28
2012-02-07Make process-spawning take environments and working directories, remove ↵Graydon Hoare-0/+47
procsrv task from compiletest.
2012-02-07Reuse monomorphized functions for different box typesMarijn Haverbeke-0/+1
The free glue for opaque boxes will pick the actual tydesc out of the box, and call its glue. Issue #1736
2012-02-05Adding str::reserveKevin Cantu-0/+7
2012-02-05Making vec::reserve reserve precisely the size given (untested)Kevin Cantu-1/+1
2012-02-03rt: Make isaac_init not a templateBrian Anderson-1/+1
2012-02-03rt: Create new tasks through the current thread's schedulerBrian Anderson-1/+1
2012-02-03rt: Add a field to rust_task to hold its schedulerBrian Anderson-1/+1
2012-02-03rt: Extract rust_scheduler from rust_task_threadBrian Anderson-1/+2
2012-02-03rt: Rename rust_scheduler to rust_task_threadBrian Anderson-36/+36
2012-02-03Remove experimental GC codeMarijn Haverbeke-5/+0
It's been sitting unused long enough to have bitrotted completely.
2012-02-02rt: Remove task pinning. Does nothingBrian Anderson-12/+0
2012-02-02rt: Rename task_sleep intrinsic to task_yield. Remove usec paramBrian Anderson-2/+2
2012-02-02rt: Remove yield timersBrian Anderson-0/+1
2012-02-01make boxes self-describing (fixes #1493)" (take 2)Niko Matsakis-16/+0
this will be used to generate a new snapshot.
2012-02-01Revert "make boxes self-describing (fixes #1493)" until a newNiko Matsakis-0/+16
snapshot is prepared.
2012-02-01make boxes self-describing (fixes #1493)Niko Matsakis-16/+0
2012-01-29rt: Remove set_min_stackBrian Anderson-7/+0
2012-01-13rt: Allow console logging to be turned offBrian Anderson-0/+15
2012-01-12libcore: Add sys::set_exit_statusBrian Anderson-0/+6
Sets the process exit code
2012-01-06fix how we walk functions to match new closure fmtNiko Matsakis-5/+1
2012-01-06rewrite task testsNiko Matsakis-3/+3
2012-01-06simplify task implNiko Matsakis-9/+2
2011-12-16std: file_is_dir -> path_is_dir, add path_existsElly Jones-1/+10
2011-12-05test: Test hitting the dynamic linker in the red zoneBrian Anderson-0/+6
2011-11-30rt: Reorganize stack growth codeBrian Anderson-0/+5
2011-11-18rt: Add more comments to rust_task_sleepBrian Anderson-2/+2
2011-11-18rt: Remove fail calls from rust_task::yieldBrian Anderson-2/+2
2011-11-18rt: Remove unblock call from rust_task::yieldBrian Anderson-2/+11
2011-11-18intrinsics: Eliminate recv intrinsicBrian Anderson-4/+4
This intrinsic existed just to get ahold of the return pointer. I replaced it with a call_with_retptr intrinsic that grabs the return pointer and passes it to another Rust function, thereby eliminating the need to call C functions on the Rust stack.
2011-11-18intrinsics: Remove the call to get_task from task_sleepBrian Anderson-2/+1
2011-11-18rt: Remove size_of and align_of functions. Now written in RustBrian Anderson-10/+0