about summary refs log tree commit diff
path: root/src/rt/rust_sched_loop.cpp
AgeCommit message (Collapse)AuthorLines
2013-05-07rt: Eliminate the dependency on rust_kernel from rust_rngBrian Anderson-2/+2
2013-04-23Merge remote-tracking branch 'brson/io'Brian Anderson-1/+1
This also reverts some changes to TLS that were leaking memory. Conflicts: src/libcore/rt/uv/net.rs src/libcore/task/local_data_priv.rs src/libcore/unstable/lang.rs
2013-04-21rt: Don't make memory_region depend on rust_envBrian Anderson-1/+1
I am going to use memory_region and boxed_region as the local heap in the new scheduler, for now at least, and I don't have a rust_env available.
2013-04-19rt: Fix scalability problem with big stacks on 32 bitPatrick Walton-0/+18
2013-03-21rt: Increase C_STACK_SIZE to 2MB to get JIT/rusti working again (dlopen ↵Zack Corr-1/+1
segfaults)
2013-02-19rt: fix memory-unsafe random seed logic, r=valgrindcleanGraydon Hoare-1/+1
2013-02-14don't deplete RNG entropy when there is only one runnable taskChris Peterson-4/+4
2013-02-14reseed rust_rng after generating 32KBChris Peterson-1/+1
2013-02-14encapsulate isaac RNG in rust_rng structChris Peterson-2/+2
2013-02-06Rewrite the exchange allocator to work without an active scheduler. #4457Brian Anderson-3/+4
2013-01-13Support ARM and Androidkyeongwoon-0/+1
Conflicts: src/libcore/os.rs src/librustc/back/link.rs src/librustc/driver/driver.rs src/librustc/metadata/loader.rs src/librustc/middle/trans/base.rs
2012-12-30rt: Remove dead code from schedule_task()Chris Peterson-6/+3
2012-12-10Add license boilerplate to more files.Graydon Hoare-0/+10
2012-07-20[2/4 for #2365, #2671] Fix exit/kill race with tasks during rust_kernel::failBen Blum-2/+7
2012-07-20[1/4 for #2365, #2671] Fix create/kill race with schedulers and tasks during ↵Ben Blum-1/+9
rust_kernel::fail
2012-07-17Tasks should not hold a ref to their parent (Close #1789)Ben Blum-5/+2
2012-07-13Reintroduce linked failure (killing runtime)Ben Blum-2/+2
This reverts commit 5724c6454950617c292daba89cdb9a3b4c862430.
2012-07-13Reintroduce linked failure (lifecycle lock)Ben Blum-1/+1
This reverts commit 08c40c5eb7bda79850f725308b72c1451fb67a86.
2012-07-12Comments only: TODOs to FIXME in the runtimeTim Chevalier-1/+1
2012-07-12Revert linked failure (lifecycle lock)Ben Blum-1/+1
This reverts commit 74f4b8d901cf16ef8dc601749108f4d79d7b53e0.
2012-07-12Revert linked failure (killing runtime)Ben Blum-2/+2
This reverts commit 200a2ded3245eb0a1ca7b265ce83adba16d75b97.
2012-07-12Fix linked failure with root taskgroup to kill the runtime too.Ben Blum-2/+2
2012-07-11Unify state_lock + kill_lock -> lifecycle_lock (#2787)Ben Blum-1/+1
2012-06-28Remove obsolete FIXMETim Chevalier-2/+0
brson said it's obsolete and I trust him. Closes #2695
2012-06-21Comments only: annotate FIXMEsTim Chevalier-1/+1
2012-06-04Moved log method into logger class better than scheduler fixes #2495Arkaitz Jimenez-21/+5
2012-06-03rt: Add a FIXME about #2495Brian Anderson-0/+1
2012-06-03Show ellipsis sign when log line is truncatedArkaitz Jimenez-1/+7
2012-05-21add a seeded random number generator so that sequences of random numbers can ↵Gareth Daniel Smith-1/+1
be easily reproduced (for https://github.com/mozilla/rust/issues/2379)
2012-04-03Refactor includes structure, getting rid of rust_internal.hJon Morton-5/+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-02rt: cleanup passing around of rust_envJon Morton-4/+3
2012-04-01remove rust_srvJon Morton-5/+3
2012-04-01replace assertion macros with plain assertsJon Morton-16/+15
2012-04-01Merge remote-tracking branch 'brson/mainthread'Brian Anderson-0/+413
Conflicts: src/rt/rust_sched_loop.cpp src/rt/rust_shape.cpp src/rt/rust_task.cpp
2012-03-31rt: Add some more locking asserts to rust_sched_loopBrian Anderson-0/+2
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: Extract start_main_loop from rust_sched_loop to rust_sched_driverBrian Anderson-22/+15
2012-03-31rt: Refactor the scheduler loop so that it can be driven from withoutBrian Anderson-20/+41
2012-03-31rt: Rename rust_task_thread to rust_sched_loopBrian Anderson-0/+395
This class no longer represents a thread; it just schedules tasks.