about summary refs log tree commit diff
path: root/src/libcore/task.rs
AgeCommit message (Collapse)AuthorLines
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-246/+257
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-04Remove empty argument lists from do expressionsBen Striegel-35/+35
2012-07-03core: Convert iter::repeat to the for protocolBrian Anderson-2/+2
2012-07-03Change crust -> extern.Graydon Hoare-2/+2
2012-07-03Switch 'native' to 'extern' (or 'foreign' in some descriptions)Graydon Hoare-3/+3
2012-07-03task.rs: minor doc/comment changesBen Blum-5/+5
2012-07-02rustc: Implement a new resolve pass behind a compile flagPatrick Walton-1/+2
2012-07-01Convert to new closure syntaxBrian Anderson-53/+53
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-53/+53
2012-06-28Cleanup failure handling around rust_new_task_in_sched - closes #2668Ben Blum-0/+1
2012-06-28add TLS failure test case in task.rsBen Blum-0/+20
2012-06-27Tidy fixesBrian Anderson-1/+1
2012-06-28Add task-local storage in libcore.Ben Blum-0/+286
2012-06-26Change 'native' and 'crust' to 'extern'.Graydon Hoare-11/+11
This comes with a terminology change. All linkage-symbols are 'extern' now, including rust syms in other crates. Some extern ABIs are merely "foreign". The term "native" is retired, not clear/useful. What was "crust" is now "extern" applied to a _definition_. This is a bit of an overloading, but should be unambiguous: it means that the definition should be made available to some non-rust ABI.
2012-06-25MergeTim Chevalier-24/+28
2012-06-25core: Convert declarations to not use the trailing 'unsafe' notationBrian Anderson-24/+28
2012-06-21Port resources to classes in libcoreTim Chevalier-2/+5
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-8/+8
2012-06-14Remove code from parser that was awaiting snapshotTim Chevalier-2/+2
Remove old parser functions as well as support for old-style capture clauses. Remove remaining old-style capture clauses.
2012-06-08Convert reinterpret_cast + forget to 'transmute'Brian Anderson-3/+2
2012-06-07Use #[cfg(unix)] and #[cfg(windows)] everywhereBrian Anderson-6/+6
2012-06-01Comment only: fix typoTim Chevalier-1/+1
2012-05-29Updating comments.Eric Holk-1/+1
2012-05-15core: Add task::unkillableBrian Anderson-1/+62
2012-04-12Annotate FIXMEs in core::taskTim Chevalier-2/+2
2012-04-06Re-rename option functionsTim Chevalier-1/+1
get_with_default (nee from_maybe) => get_default with_option (nee maybe) => map_default with_option_do (nee may) => iter As per discussion of 21be1379d561b6679a8a2ea47dce88f948c5acca
2012-04-05Rename task::task_builder to task::builderTim Chevalier-51/+51
Closes #2120.
2012-04-03Merge remote-tracking branch 'brson/mainthread'Brian Anderson-2/+35
Conflicts: src/rt/rust_kernel.cpp src/rt/rust_scheduler.cpp src/rt/rust_scheduler.h
2012-04-03core: Add a scheduler mode, osmain, to spawn onto the main schedulerBrian Anderson-2/+35
2012-04-02Rename some core::option functionsTim Chevalier-1/+1
from_maybe => get_with_default maybe => with_option may => with_option_do I know these names are kind of ridiculous, but it's the best I could think of. Feel free to bikeshed. Closes #2081
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-4/+4
2012-03-24Avoid unifying vars when possible; handle bot (more) correctlyNiko Matsakis-1/+1
2012-03-23Support [rust_stack] annotation on native functions (crudely)Marijn Haverbeke-6/+4
2012-03-22make --enforce-mut-vars always on, add mut annotations to remaining filesNiko Matsakis-1/+1
2012-03-20core: Rename unsafe::leak to unsafe::forget. Closes #2031Brian Anderson-1/+1
2012-03-16core: Store reexporting result and either. Closes #1997Brian Anderson-0/+2
2012-03-15rt: Remove remaining uses of rust_kernel::get_task_by_idBrian Anderson-8/+8
2012-03-13Name types after their modules instead of 't'Brian Anderson-1/+1
2012-03-13Overhaul constructor naming in libsBrian Anderson-23/+24
2012-03-12Libc/os/run/rand/io reorganization. Close #1373. Close #1638.Graydon Hoare-9/+9
- Move io, run and rand to core. - Remove incorrect ctypes module (use libc). - Remove os-specific modules for os and fs. - Split fs between core::path and core::os.
2012-03-09core: Convert to rustdocBrian Anderson-47/+18
2012-03-07add mutability annotations to libcoreNiko Matsakis-7/+7
2012-03-06core: Remove some explicit move capture clausesBrian Anderson-18/+18
2012-02-20core: New task APIBrian Anderson-416/+767
2012-02-09core: Use rust_task_config_notify instead of twiddling rust_task's innardsBrian Anderson-12/+4
2012-02-08core: Add a test for blocking in native codeBrian Anderson-0/+68
2012-02-08core: Add task::spawn_schedBrian Anderson-5/+98
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-05core: Resolve some FIXMEsBrian Anderson-5/+5
2012-02-02rt: Remove task pinning. Does nothingBrian Anderson-19/+0
2012-02-02rt: Rename task_sleep intrinsic to task_yield. Remove usec paramBrian Anderson-24/+6