about summary refs log tree commit diff
path: root/src/rt/rust_port_selector.cpp
AgeCommit message (Collapse)AuthorLines
2013-02-01rt: Remove portsBrian Anderson-103/+0
2012-12-10Add license boilerplate to more files.Graydon Hoare-0/+10
2012-07-13Reintroduce linked failure (rust_port locking)Ben Blum-2/+2
This reverts commit a10f52c5793b358a16e3e98db4b16c65ba8e254b.
2012-07-12Revert linked failure (rust_port locking)Ben Blum-2/+2
This reverts commit 343e9de8ef4ee9727f027c896ce99f09611b9603.
2012-07-12Proper locking with blocked_on()/wakeup() in rust_port. Closes #2787. Closes ↵Ben Blum-2/+2
#1923.
2012-04-03Refactor includes structure, getting rid of rust_internal.hJon Morton-0/+2
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-01replace assertion macros with plain assertsJon Morton-8/+8
2012-04-01Merge remote-tracking branch 'brson/mainthread'Brian Anderson-9/+11
Conflicts: src/rt/rust_sched_loop.cpp src/rt/rust_shape.cpp src/rt/rust_task.cpp
2012-03-31rt: Fix whitespaceBrian Anderson-4/+4
2012-03-31Revert "rt: Remove lock_held_by_current_thread"Brian Anderson-0/+2
Adds back the ability to make assertions about locks, but only under the --enable-debug configuration This reverts commit b247de64583e2ab527088813ba9192824554e801. Conflicts: src/rt/rust_sched_loop.cpp
2012-03-31rt: Rename rust_task_thread to rust_sched_loopBrian Anderson-9/+9
This class no longer represents a thread; it just schedules tasks.
2012-03-18rt: Remove lock_held_by_current_threadBrian Anderson-3/+0
2012-03-05rt: Make rust_port_detach less contentiousBrian Anderson-1/+0
It still utterly dominates some benchmarks with busy waiting, but at least it doesn't create lock contention while doing so.
2012-03-05rt: Make linked failure less prone to deadlockBrian Anderson-1/+7
Still a mess.
2012-03-05rt: Renome rust_task::lock to port_lockBrian Anderson-1/+1
2012-02-16rt: Untabify rust_port_selector.cppBrian Anderson-32/+32
2012-02-16rt: Randomize port selectionBrian Anderson-2/+6
2012-02-16rt: Add rust_port_select functionBrian Anderson-0/+83