| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-09-19 | core: Allocate threads on demand, not on scheduler startup | Philipp Brüschweiler | -5/+7 | |
| API change: rust_kernel::create_scheduler() or rust_scheduler::rust_scheduler() respecitevly now take ownership of the launch factory argument, it is needed to create new threads on demand. Also renames rustrt::sched_threads() to rustrt::rust_sched_threads() for consistency. Added rustrt::rust_max_sched_threads() to return the maximal number of scheduled threads of the current scheduler. Fixes #3493. | ||||
| 2012-07-20 | [4/4 for #2365, #2671] Reassign one last fixme to #908. Close #2365. Close ↵ | Ben Blum | -1/+1 | |
| #2671. | ||||
| 2012-07-20 | [3/4 for #2365, #2671] Fix exit/kill race with scheds during rust_kernel::fail | Ben Blum | -8/+7 | |
| 2012-07-20 | [1/4 for #2365, #2671] Fix create/kill race with schedulers and tasks during ↵ | Ben Blum | -4/+8 | |
| rust_kernel::fail | ||||
| 2012-07-13 | Add asserts to check fail_sched_loop() only once | Ben Blum | -1/+1 | |
| 2012-06-28 | Cleanup failure handling around rust_new_task_in_sched - closes #2668 | Ben Blum | -1/+3 | |
| 2012-06-21 | Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this. | Graydon Hoare | -12/+11 | |
| 2012-06-21 | Comments only: annotate FIXMEs | Tim Chevalier | -1/+1 | |
| 2012-06-13 | Add a malloc_dyn upcall for dynamically sized allocations on the shared heap. | Michael Sullivan | -0/+5 | |
| 2012-05-07 | rt: Start tasks, ports and scheds at 1, assert when we see 0. Closes #2321 | Brian Anderson | -3/+5 | |
| 2012-04-30 | core: Serialize all access to the environment using a weak global task | Brian Anderson | -3/+3 | |
| 2012-04-27 | rt: remove unneccesary c++ functions and rust_kernel data, re: global loop | Jeff Olson | -3/+0 | |
| 2012-04-20 | replace impl of globa_async_handle with one using atomic compare-and-swap | Jeff Olson | -4/+3 | |
| 2012-04-20 | don't use ::malloc for initializing the global_async_handle in rust_kernel | Jeff Olson | -2/+3 | |
| 2012-04-20 | clean and trying the global loop test as two separate loop lifetimes.. | Jeff Olson | -2/+2 | |
| .. seeing an occasional valgrind/barf spew on some invalid read/writes.. need to investigate further.. i think its related to my poor citizen conduct, re: pointers stashed in rust_kernel.. | ||||
| 2012-04-20 | add needed fields for global libuv loop + bindings to manage from rust | Jeff Olson | -0/+7 | |
| adding two pointers fields to rust_kernel :( .. have to do manual malloc/free for one of the fields, which feels wrong | ||||
| 2012-04-20 | rt: Delete some incorrect comments | Brian Anderson | -3/+0 | |
| 2012-04-20 | rt: Take the weak_task_lock in end_weak_tasks | Brian Anderson | -1/+1 | |
| Don't remember why it's commented out. Probably an oversight. | ||||
| 2012-04-07 | core: Add priv::weaken_task | Brian Anderson | -1/+80 | |
| 2012-04-03 | Merge remote-tracking branch 'brson/mainthread' | Brian Anderson | -9/+47 | |
| Conflicts: src/rt/rust_kernel.cpp src/rt/rust_scheduler.cpp src/rt/rust_scheduler.h | ||||
| 2012-04-03 | rt: Fix bugs in the osmain scheduler | Brian Anderson | -6/+11 | |
| 2012-04-03 | rt: Fix bugs in the osmain scheduler | Brian Anderson | -1/+13 | |
| 2012-04-03 | rt: Futz with headers to satisfy FreeBSD | Brian Anderson | -2/+0 | |
| 2012-04-03 | fix 'I don't know how C works' | Jon Morton | -1/+2 | |
| 2012-04-03 | Refactor includes structure, getting rid of rust_internal.h | Jon Morton | -1/+4 | |
| 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-02 | rt: Run a single-threaded scheduler on the main thread | Brian Anderson | -9/+30 | |
| 2012-04-02 | rt: cleanup passing around of rust_env | Jon Morton | -1/+1 | |
| 2012-04-01 | remove rust_srv | Jon Morton | -6/+5 | |
| 2012-04-01 | replace assertion macros with plain asserts | Jon Morton | -6/+6 | |
| 2012-04-01 | rt: Allow some schedulers to stay alive even without tasks to execute | Brian Anderson | -1/+1 | |
| 2012-04-01 | Merge remote-tracking branch 'brson/mainthread' | Brian Anderson | -5/+18 | |
| Conflicts: src/rt/rust_sched_loop.cpp src/rt/rust_shape.cpp src/rt/rust_task.cpp | ||||
| 2012-03-31 | rt: Fix whitespace | Brian Anderson | -1/+2 | |
| 2012-03-31 | rt: Introduce rust_sched_reaper | Brian Anderson | -5/+18 | |
| This just moves the responsibility for joining with scheduler threads off to a worker thread. This will be needed when we allow tasks to be scheduled on the main thread. | ||||
| 2012-03-28 | Tidy up multiple declarations and STDC_FOO_MACROS guards in headers. | Graydon Hoare | -5/+0 | |
| 2012-03-28 | Fix some gcc-4.4-isms, should build now on 4.1+. | Graydon Hoare | -1/+2 | |
| 2012-03-18 | rt: Remove lock_held_by_current_thread | Brian Anderson | -4/+0 | |
| 2012-03-15 | rt: Remove the kernel task table | Brian Anderson | -45/+5 | |
| 2012-03-15 | rt: Look up ports through a single port table | Brian Anderson | -0/+41 | |
| Instead of a two-level lookup, just use one big table | ||||
| 2012-03-01 | rt: Remove rust_kernel::live_tasks. Unused | Brian Anderson | -3/+2 | |
| 2012-02-27 | rt: Change the way the kernel exits to avoid pthread leaks | Brian Anderson | -17/+27 | |
| This makes the kernel join every scheduler thread before exiting in order to ensure that all threads are completely terminated before the process exits. On my machine, for 32-bit targets, this was causing regular valgrind errors. | ||||
| 2012-02-09 | rt: Make rust_task::ref_count private | Brian Anderson | -0/+1 | |
| 2012-02-09 | rt: Remove rust_task_user struct | Brian Anderson | -4/+4 | |
| 2012-02-09 | fix build on freebsd | Jyun-Yan You | -0/+5 | |
| 2012-02-08 | rt: Export a scheduler API | Brian Anderson | -2/+3 | |
| 2012-02-08 | rt: Hold schedulers in a map | Brian Anderson | -7/+52 | |
| 2012-02-08 | rt: Change the lifecycle of tasks and schedulers for various reasons | Brian Anderson | -5/+0 | |
| 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 | -18/+26 | |
| 2012-02-08 | rt: Introduce scheduler ids | Brian Anderson | -1/+1 | |
| 2012-02-08 | rt: Delete schedulers immediately upon release | Brian Anderson | -4/+1 | |
| This will be needed once we support dynamically changing schedulers. | ||||
