| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-02-09 | rt: Add upcall_call_shim_on_rust_stack | Brian Anderson | -3/+67 | |
| 2012-02-09 | rt: Use rust_task_thread's C-stack pool for native calls | Brian Anderson | -28/+96 | |
| 2012-02-09 | rt: Add methods to rust_task_thread for borrowing C stacks | Brian Anderson | -1/+40 | |
| 2012-02-09 | rt: Move more setup code into create_stack | Brian Anderson | -3/+4 | |
| 2012-02-09 | rt: Add rust_task::call_on_c_stack | Brian Anderson | -7/+24 | |
| 2012-02-09 | rt: Rename call_shim_on_c_stack to call_and_change_stacks | Brian Anderson | -5/+5 | |
| 2012-02-09 | rt: Make rust_task::ref_count private | Brian Anderson | -2/+4 | |
| 2012-02-09 | rt: Add constructors and destructors for stacks | Brian Anderson | -3/+21 | |
| 2012-02-09 | rt: Move some stack manipulation functions into rust_task | Brian Anderson | -137/+136 | |
| 2012-02-09 | rt: Rename new_stack to next_stack, del_stack to prev_stack | Brian Anderson | -8/+12 | |
| 2012-02-09 | rt: Remove rust_task::rust_sp | Brian Anderson | -4/+1 | |
| 2012-02-09 | rt: Remove rust_task_user struct | Brian Anderson | -36/+25 | |
| 2012-02-09 | rt: Remove unused builtins | Brian Anderson | -30/+0 | |
| 2012-02-09 | rt: Add a function for configuring task notification | Brian Anderson | -0/+19 | |
| 2012-02-09 | rt: Begin moving stack-building functions to rust_stack.cpp | Brian Anderson | -53/+66 | |
| 2012-02-09 | rt: Remove unused context functions | Brian Anderson | -28/+0 | |
| 2012-02-09 | fix build on freebsd | Jyun-Yan You | -1/+17 | |
| 2012-02-08 | core: Add a test for blocking in native code | Brian Anderson | -0/+46 | |
| 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 | -3/+36 | |
| 2012-02-08 | rt: Hold schedulers in a map | Brian Anderson | -10/+58 | |
| 2012-02-08 | rt: Change the lifecycle of tasks and schedulers for various reasons | Brian Anderson | -23/+66 | |
| This is in preparation for giving schedulers their own life cycle separate from the kernel. Tasks must be deleted before their scheduler thread, so we can't let the scheduler exit before all its tasks have been cleaned up. In this scheme, the scheduler will unregister tasks with the kernel when they are reaped, then drop their ref on the task (there may still be others). When the task ref count hits zero, the task will request to be unregistered from the scheduler, which is responsible for deleting the task. Instead of having the kernel tell the scheduler to exit, let the scheduler decide when to exit. For now it will exit when all of its tasks are unregistered. | ||||
| 2012-02-08 | rt: Start schedulers immediately upon creation | Brian Anderson | -8/+6 | |
| 2012-02-08 | rt: Refactor the rust_kernel interface a bit | Brian Anderson | -26/+36 | |
| 2012-02-08 | rt: Introduce scheduler ids | Brian Anderson | -4/+10 | |
| 2012-02-08 | rt: Delete schedulers immediately upon release | Brian Anderson | -5/+6 | |
| This will be needed once we support dynamically changing schedulers. | ||||
| 2012-02-08 | rt: Change the scheme used for terminating the kernel | Brian Anderson | -11/+58 | |
| Instead of joining on the scheduler threads, instead keep a count of active schedulers. When there are no more schedulers raise a signal for the main thread to continue. This will be required once schedulers can be added and removed from the running kernel. | ||||
| 2012-02-08 | rt: Remove is_running flag from rust_thread. Unused | Brian Anderson | -12/+1 | |
| 2012-02-08 | rt: Remove rust_scheduler::rval. Unused | Brian Anderson | -1/+0 | |
| 2012-02-08 | deprecate old style box shape strings | Niko Matsakis | -1/+11 | |
| 2012-02-08 | fix bug that causes premature pops from obstack | Niko Matsakis | -9/+21 | |
| basically, the alignment step did not check if it walked off the end of the buffer | ||||
| 2012-02-08 | make shape code use the tydesc found in the box, not the shape str | Niko Matsakis | -46/+88 | |
| 2012-02-07 | rt: Don't ignore result of chdir. Fail hard for now with a FIXME | Brian Anderson | -1/+5 | |
| My gcc won't let the result of this function be ignored. | ||||
| 2012-02-07 | Make process-spawning take environments and working directories, remove ↵ | Graydon Hoare | -14/+89 | |
| procsrv task from compiletest. | ||||
| 2012-02-07 | made leak an intrinsic to avoid a c-call. added memmove and memcpy intrinsics | Magnus Auvinen | -0/+73 | |
| 2012-02-07 | Stop storing cmp glue in tydescs | Marijn Haverbeke | -5/+2 | |
| There's no such thing anymore, we can simply call upcalls.cmp_type. | ||||
| 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-06 | Revert "log to stderr instead of stdout" | Brian Anderson | -1/+5 | |
| This is causing mysterious hangs on windows. Issue #1769. This reverts commit d65eabd5de4c41e4bc93b9c6c03d6278299ceb76. | ||||
| 2012-02-05 | Adding str::reserve | Kevin Cantu | -0/+8 | |
| 2012-02-05 | Making vec::reserve reserve precisely the size given (untested) | Kevin Cantu | -6/+8 | |
| 2012-02-04 | rt: Expand rust_kernel::live_tasks to a uintptr_t | Brian Anderson | -3/+3 | |
| 2012-02-04 | rt: Stop using atomic ops on rust_kernel::live_tasks | Brian Anderson | -5/+8 | |
| These ops are all done within spitting distance of a suitable lock, so just protect it with the lock. | ||||
| 2012-02-03 | rt: Make isaac_init not a template | Brian Anderson | -19/+12 | |
| 2012-02-03 | rt: Remove some silly locks in rust_scheduler | Brian Anderson | -4/+0 | |
| 2012-02-03 | rt: Add sanity checks when we hit the max task/port id | Brian Anderson | -0/+2 | |
| 2012-02-03 | rt: Clean up the way the kernel tracks tasks | Brian Anderson | -42/+49 | |
| 2012-02-03 | rt: Do all task creation through a scheduler | Brian Anderson | -15/+10 | |
| 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 | -2/+3 | |
| 2012-02-03 | rt: Extract rust_scheduler from rust_task_thread | Brian Anderson | -112/+180 | |
