| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-04-03 | std: change time::timeval to be {sec: i64, usec: i32}. | Erick Tryzelaar | -2/+2 | |
| It's possible to have negative times if expressing time before 1970, so we should use signed types. Other platforms can return times at a higher resolution, so we should use 64 bits. | ||||
| 2012-04-03 | Merge remote-tracking branch 'brson/mainthread' | Brian Anderson | -0/+6 | |
| Conflicts: src/rt/rust_kernel.cpp src/rt/rust_scheduler.cpp src/rt/rust_scheduler.h | ||||
| 2012-04-03 | Refactor includes structure, getting rid of rust_internal.h | Jon Morton | -1/+1 | |
| Many changes to code structure are included: - removed TIME_SLICE_IN_MS - removed sychronized_indexed_list - removed region_owned - kernel_owned move to kernel.h, task_owned moved to task.h - global configs moved to rust_globals.h - changed #pragma once to standard guard in rust_upcall.h - got rid of memory.h | ||||
| 2012-04-03 | core: Add a scheduler mode, osmain, to spawn onto the main scheduler | Brian Anderson | -0/+6 | |
| 2012-04-02 | Add global rust_get_current_task | Jon Morton | -34/+34 | |
| Previously two methods existed: rust_sched_loop::get_task and rust_task::get_task_from_tcb. Merge both of them into one, trying the faster one (tcb) first, and if that fails, the slower one from the tls. | ||||
| 2012-04-01 | replace assertion macros with plain asserts | Jon Morton | -12/+6 | |
| 2012-03-31 | rt: Rename rust_task_thread to rust_sched_loop | Brian Anderson | -47/+47 | |
| This class no longer represents a thread; it just schedules tasks. | ||||
| 2012-03-20 | Some tests for passing and returning structures by value on x64. Close ↵ | Graydon Hoare | -0/+37 | |
| #1402. Close #1970. | ||||
| 2012-03-15 | core: Channels are just port ids | Brian Anderson | -6/+4 | |
| 2012-03-15 | rt: Remove remaining uses of rust_kernel::get_task_by_id | Brian Anderson | -13/+5 | |
| 2012-03-15 | rt: Look up ports through a single port table | Brian Anderson | -13/+6 | |
| Instead of a two-level lookup, just use one big table | ||||
| 2012-03-06 | rt: Change the rust_port refcounting scheme to avoid races | Brian Anderson | -1/+0 | |
| Hopefully... | ||||
| 2012-03-05 | rt: Add a hack to fix a port detach bug | Brian Anderson | -1/+5 | |
| 2012-03-05 | rt: Fix the atomic get_ref_count method to avoid races | Brian Anderson | -5/+1 | |
| 2012-03-05 | rt: Properly block tasks while waiting for port detach | Brian Anderson | -4/+9 | |
| 2012-03-05 | rt: Make rust_port_detach less contentious | Brian Anderson | -2/+1 | |
| It still utterly dominates some benchmarks with busy waiting, but at least it doesn't create lock contention while doing so. | ||||
| 2012-03-05 | rt: Move receive code into rust_port | Brian Anderson | -23/+1 | |
| 2012-03-05 | rt: Simplify the recv interface | Brian Anderson | -10/+1 | |
| 2012-03-05 | rt: Move some code from rust_port_detach into rust_port::detach | Brian Anderson | -6/+0 | |
| 2012-03-05 | rt: Renome rust_task::lock to port_lock | Brian Anderson | -2/+2 | |
| 2012-03-05 | Remove dead code from rt (debug_obj, rust_obj, rust_closure, rust_box_obj, ↵ | Graydon Hoare | -22/+0 | |
| rust_vtable) | ||||
| 2012-03-02 | rt: Port ref counts are protected by the task lock. Ick. | Brian Anderson | -1/+1 | |
| 2012-03-02 | retool inline encoding to handle methods, fix tests | Niko Matsakis | -5/+0 | |
| 2012-02-29 | add the ability to snag the frame so we can verify that we are inlining | Niko Matsakis | -0/+6 | |
| 2012-02-20 | core: New task API | Brian Anderson | -0/+9 | |
| 2012-02-18 | rt: rename nano_time() builtin to match time::precise_time_ns() | Chris Peterson | -1/+1 | |
| 2012-02-18 | std: Fix Windows system time conversion for get_time() | Chris Peterson | -11/+14 | |
| 2012-02-16 | rt: Add rust_port_select function | Brian Anderson | -0/+8 | |
| 2012-02-14 | rt: Don't kill tasks while they are in a callback from C | Brian Anderson | -1/+1 | |
| 2012-02-14 | rustc: Translate crust functions | Brian Anderson | -2/+2 | |
| 2012-02-14 | rt: Add a Rust callback debugging function | Brian Anderson | -0/+7 | |
| 2012-02-09 | rt: Remove rust_task_user struct | Brian Anderson | -1/+1 | |
| 2012-02-09 | rt: Remove unused builtins | Brian Anderson | -26/+0 | |
| 2012-02-09 | rt: Add a function for configuring task notification | Brian Anderson | -0/+10 | |
| 2012-02-09 | fix build on freebsd | Jyun-Yan You | -0/+4 | |
| 2012-02-08 | core: Add a test for blocking in native code | Brian Anderson | -0/+40 | |
| 2012-02-08 | core: Add task::spawn_sched | Brian 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-08 | rt: Export a scheduler API | Brian Anderson | -1/+28 | |
| 2012-02-07 | Make process-spawning take environments and working directories, remove ↵ | Graydon Hoare | -0/+47 | |
| procsrv task from compiletest. | ||||
| 2012-02-07 | Reuse monomorphized functions for different box types | Marijn 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-05 | Adding str::reserve | Kevin Cantu | -0/+7 | |
| 2012-02-05 | Making vec::reserve reserve precisely the size given (untested) | Kevin Cantu | -1/+1 | |
| 2012-02-03 | rt: Make isaac_init not a template | Brian Anderson | -1/+1 | |
| 2012-02-03 | rt: Create new tasks through the current thread's scheduler | Brian Anderson | -1/+1 | |
| 2012-02-03 | rt: Add a field to rust_task to hold its scheduler | Brian Anderson | -1/+1 | |
| 2012-02-03 | rt: Extract rust_scheduler from rust_task_thread | Brian Anderson | -1/+2 | |
| 2012-02-03 | rt: Rename rust_scheduler to rust_task_thread | Brian Anderson | -36/+36 | |
| 2012-02-03 | Remove experimental GC code | Marijn Haverbeke | -5/+0 | |
| It's been sitting unused long enough to have bitrotted completely. | ||||
| 2012-02-02 | rt: Remove task pinning. Does nothing | Brian Anderson | -12/+0 | |
| 2012-02-02 | rt: Rename task_sleep intrinsic to task_yield. Remove usec param | Brian Anderson | -2/+2 | |
