summary refs log tree commit diff
path: root/src/rt/rust_task.h
AgeCommit message (Collapse)AuthorLines
2012-09-25rt: Remove the cycle collectorPatrick Walton-2/+0
2012-09-05rt: Make the boxed region come earlier in the rust_task structure.Patrick Walton-1/+1
This is so that GC can find it more easily.
2012-08-24Document task shutdown protocol and justify its concurrency safety. Close ↵Ben Blum-7/+76
#2696. Close bblum's internship.
2012-08-24Avoid lifecycle_lock traffic in call_on_rust_stack. (close #3270)Ben Blum-10/+6
2012-08-01Linked failure: enable unidirectional propagate test; replace FIXMEs with ↵Ben Blum-2/+2
comments (tag #1868).
2012-07-25minor rt cleanupBen Blum-1/+1
2012-07-25Remove notification channels in runtime (closes #1078)Ben Blum-6/+0
2012-07-24Change yield() and wait_event() to be MUST_CHECK and return the killed flag. ↵Ben Blum-2/+4
(closes #2875)
2012-07-24tiny runtime cleanupBen Blum-1/+0
2012-07-24Add 'do atomically { .. }' for exclusivesBen Blum-0/+3
2012-07-20[3/4 for #2365, #2671] Fix exit/kill race with scheds during rust_kernel::failBen Blum-2/+0
2012-07-20[1/4 for #2365, #2671] Fix create/kill race with schedulers and tasks during ↵Ben Blum-0/+1
rust_kernel::fail
2012-07-17Tasks should not hold a ref to their parent (Close #1789)Ben Blum-7/+2
2012-07-13Oops, switch more TODOs to FIXMEsBen Blum-1/+1
2012-07-13Reintroduce linked failure (killing runtime)Ben Blum-0/+4
This reverts commit 5724c6454950617c292daba89cdb9a3b4c862430.
2012-07-13Reintroduce linked failure (rust_port locking)Ben Blum-2/+4
This reverts commit a10f52c5793b358a16e3e98db4b16c65ba8e254b.
2012-07-13Reintroduce linked failure (renaming runtime fns)Ben Blum-4/+4
This reverts commit 3b159c6d5ba48643e8982e7cadbc1745e9f29f62.
2012-07-13Reintroduce linked failure (lifecycle lock)Ben Blum-9/+7
This reverts commit 08c40c5eb7bda79850f725308b72c1451fb67a86.
2012-07-13Reintroduce linked failureBen Blum-2/+0
This reverts commit acb86921a62ba01726fd922f55d0176fa6c1df7c.
2012-07-12Revert linked failureBen Blum-0/+2
This reverts commit 5d6d3d056592cf4d68afbce6084245ea6733865c.
2012-07-12Revert linked failure (lifecycle lock)Ben Blum-7/+9
This reverts commit 74f4b8d901cf16ef8dc601749108f4d79d7b53e0.
2012-07-12Revert linked failure (renaming runtime fns)Ben Blum-4/+4
Revert "Rename runtime *_locked() and *_unlocked() fns to *_inner() (closes #2864)" This reverts commit b897696a3abde84e57cda3f6e4267be3b647835c.
2012-07-12Revert linked failure (rust_port locking)Ben Blum-4/+2
This reverts commit 343e9de8ef4ee9727f027c896ce99f09611b9603.
2012-07-12Revert linked failure (killing runtime)Ben Blum-4/+0
This reverts commit 200a2ded3245eb0a1ca7b265ce83adba16d75b97.
2012-07-12Fix linked failure with root taskgroup to kill the runtime too.Ben Blum-0/+4
2012-07-12Proper locking with blocked_on()/wakeup() in rust_port. Closes #2787. Closes ↵Ben Blum-2/+4
#1923.
2012-07-12Rename runtime *_locked() and *_unlocked() fns to *_inner() (closes #2864)Ben Blum-4/+4
2012-07-11Unify state_lock + kill_lock -> lifecycle_lock (#2787)Ben Blum-9/+7
2012-07-11Linked failure in task.rs instead of rust_task.cpp (#1868, #1189)Ben Blum-2/+0
2012-07-11rust_task.h - fix disallow_kill & don't inherit rust_condBen Blum-2/+2
2012-07-10Handle failure conditions correctly in pipes.Eric Holk-1/+1
2012-07-06Pipes sleep and wake properly.Eric Holk-0/+16
2012-07-05make disallow_kill an int for nested unkillables (closes #2782)Ben Blum-1/+1
2012-06-27Tidy fixesBrian Anderson-2/+2
2012-06-28rt: Add task_local_data and related builtin calls (Closes #2680)Ben Blum-0/+17
2012-06-27More keyword paring and migration in runtime, docs, code modes.Graydon Hoare-1/+1
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-12/+14
2012-06-02rt: Improve docs for main, kernel, scheduler, and taskBrian Anderson-21/+48
2012-05-31rt: Refactor task failure to go through rust_task_failBrian Anderson-0/+15
This is the place to but a breakpoint. We will raise SIGINT here to break into the debugger.
2012-05-15rt: Make task killing synchronization possibly more correctBrian Anderson-3/+9
I could not come up with a test but this looks better to me.
2012-05-15core: Add task::unkillableBrian Anderson-0/+4
2012-04-03fix 'I don't know how C works'Jon Morton-0/+1
2012-04-03actually remove memory.h; include cleanupsJon Morton-1/+0
2012-04-03Refactor includes structure, getting rid of rust_internal.hJon Morton-5/+35
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-02rt: Add an assert to rust_get_current_taskBrian Anderson-0/+1
2012-04-02remove unneeded assert, move get_task_tls to sched_loopJon Morton-20/+2
2012-04-02Add global rust_get_current_taskJon Morton-11/+27
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-01replace assertion macros with plain assertsJon Morton-13/+12
2012-04-01Merge remote-tracking branch 'brson/mainthread'Brian Anderson-11/+11
Conflicts: src/rt/rust_sched_loop.cpp src/rt/rust_shape.cpp src/rt/rust_task.cpp
2012-03-31rt: Fix whitespaceBrian Anderson-1/+1