| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-08-19 | Add externfn macro and correctly label fixed_stack_segments | Niko Matsakis | -9/+6 | |
| 2013-08-18 | auto merge of #8560 : kballard/rust/reserve-yield, r=pcwalton | bors | -15/+15 | |
| Rename task::yield() to task::deschedule(). Fixes #8494. | ||||
| 2013-08-16 | Reserve 'yield' keyword | Kevin Ballard | -15/+15 | |
| Rename task::yield() to task::deschedule(). Fixes #8494. | ||||
| 2013-08-16 | doc: correct spelling in documentation. | Huon Wilson | -3/+3 | |
| 2013-08-12 | Clean up transitionary glue in task/spawn.rs. Don't hold kill-little-lock ↵ | Ben Blum | -1/+0 | |
| for O(n) time, cf #3100, and optimize out several unneeded clone()s. | ||||
| 2013-08-09 | Remove the C++ runtime. Sayonara | Brian Anderson | -80/+30 | |
| 2013-08-09 | std: Fix perf of local allocations in newsched | Brian Anderson | -7/+8 | |
| Mostly optimizing TLS accesses to bring local heap allocation performance closer to that of oldsched. It's not completely at parity but removing the branches involved in supporting oldsched and optimizing pthread_get/setspecific to instead use our dedicated TCB slot will probably make up for it. | ||||
| 2013-08-07 | Disable linked failure tests | Brian Anderson | -0/+19 | |
| The implementation currently contains a race that leads to segfaults. | ||||
| 2013-08-07 | std: Allow spawners to specify stack size | Brian Anderson | -4/+8 | |
| 2013-08-05 | Updated std::Option, std::Either and std::Result | Marvin Löbel | -1/+1 | |
| - Made naming schemes consistent between Option, Result and Either - Changed Options Add implementation to work like the maybe monad (return None if any of the inputs is None) - Removed duplicate Option::get and renamed all related functions to use the term `unwrap` instead | ||||
| 2013-08-02 | librustc: Disallow "unsafe" for external functions | Patrick Walton | -6/+6 | |
| 2013-08-02 | Fix embarrassing bug where 'unkillable' would unwind improperly when it ↵ | Ben Blum | -0/+41 | |
| receives a kill signal. | ||||
| 2013-08-02 | std: Implement SingleThreaded spawn mode for newsched | Brian Anderson | -5/+18 | |
| 2013-08-01 | modified local to include an implementation for try_unsafe_borrow::<Task> so ↵ | toddaaro | -6/+6 | |
| that the log methods will work | ||||
| 2013-08-01 | Have linked failure tests run on the new scheduler instead of requiring ↵ | Ben Blum | -79/+152 | |
| RUST_NEWRT to test. | ||||
| 2013-08-01 | std: Change `Times` trait to use `do` instead of `for` | blake2-ppc | -9/+9 | |
| Change the former repetition:: for 5.times { } to:: do 5.times { } .times() cannot be broken with `break` or `return` anymore; for those cases, use a numerical range loop instead. | ||||
| 2013-07-31 | Move atomically to unstable::sync, and document what it actually does. Close ↵ | Ben Blum | -53/+0 | |
| #7872. | ||||
| 2013-07-31 | Give tasks useful names. #2891 | Ben Blum | -2/+57 | |
| 2013-07-31 | auto merge of #8139 : brson/rust/rm-old-task-apis, r=pcwalton | bors | -95/+0 | |
| This removes a bunch of options from the task builder interface that are irrelevant to the new scheduler and were generally unused anyway. It also bumps the stack size of new scheduler tasks so that there's enough room to run rustc and changes the interface to `Thread` to not implicitly join threads on destruction, but instead require an explicit, and mandatory, call to `join`. | ||||
| 2013-07-30 | std: Remove foreign_stack_size spawn option. Irrelevant to future FFI changes | Brian Anderson | -9/+0 | |
| 2013-07-30 | std: Remove get_task function. Unused | Brian Anderson | -15/+0 | |
| 2013-07-30 | std: Remove CurrentScheduler spawn mode. Unused | Brian Anderson | -2/+0 | |
| 2013-07-30 | std: Remove ExistingScheduler spawn mode. Unused | Brian Anderson | -13/+1 | |
| 2013-07-30 | std: Remove PlatformThread spawn mode. Obsolete | Brian Anderson | -18/+0 | |
| 2013-07-30 | std: Remove ThreadPerTask spawn mode. Unimplemented | Brian Anderson | -2/+0 | |
| 2013-07-30 | std: Remove ManualThreads spawn mode | Brian Anderson | -37/+0 | |
| 2013-07-30 | Unkillable is not unsafe. Close #7832. | Ben Blum | -21/+23 | |
| 2013-07-27 | Change concurrency primitives to standard naming conventions | Steven Stewart-Gallus | -1/+1 | |
| To be more specific: `UPPERCASETYPE` was changed to `UppercaseType` `type_new` was changed to `Type::new` `type_function(value)` was changed to `value.method()` | ||||
| 2013-07-22 | new snapshot | Daniel Micay | -4/+0 | |
| 2013-07-20 | librustc: Remove `pub extern` and `priv extern` from the language. | Patrick Walton | -7/+7 | |
| Place `pub` or `priv` on individual items instead. | ||||
| 2013-07-20 | Use Option .take() or .take_unwrap() instead of util::replace where possible | blake2-ppc | -6/+5 | |
| 2013-07-20 | Add watched and indestructible spawn modes. | Ben Blum | -0/+110 | |
| 2013-07-20 | Fix linked failure tests to block forever instead of looping around yield. | Ben Blum | -29/+13 | |
| 2013-07-20 | Change the HOF context switchers to pass a BlockedTask instead of a ~Task. | Ben Blum | -1/+2 | |
| 2013-07-20 | Implement KillHandle::kill() and friends (unkillable, atomically). Close #6377. | Ben Blum | -35/+77 | |
| 2013-07-18 | auto merge of #7856 : brson/rust/no-thread-per-core, r=pcwalton | bors | -18/+0 | |
| This doesn't make sense under the new scheduler. | ||||
| 2013-07-11 | auto merge of #7677 : alexcrichton/rust/tls-gc, r=pcwalton | bors | -0/+4 | |
| cc #6004 and #3273 This is a rewrite of TLS to get towards not requiring `@` when using task local storage. Most of the rewrite is straightforward, although there are two caveats: 1. Changing `local_set` to not require `@` is blocked on #7673 2. The code in `local_pop` is some of the most unsafe code I've written. A second set of eyes should definitely scrutinize it... The public-facing interface currently hasn't changed, although it will have to change because `local_data::get` cannot return `Option<T>`, nor can it return `Option<&T>` (the lifetime isn't known). This will have to be changed to be given a closure which yield `&T` (or as an Option). I didn't do this part of the api rewrite in this pull request as I figured that it could wait until when `@` is fully removed. This also doesn't deal with the issue of using something other than functions as keys, but I'm looking into using static slices (as mentioned in the issues). | ||||
| 2013-07-11 | Work around stage0 to remove '@' requirements from TLS | Alex Crichton | -0/+4 | |
| 2013-07-09 | std: Remove ThreadPerCore spawn mode. Unused | Brian Anderson | -18/+0 | |
| 2013-07-08 | std: Add a yield implementation for newsched | Brian Anderson | -4/+19 | |
| 2013-07-03 | Merge remote-tracking branch 'mozilla/master' | Brian Anderson | -12/+10 | |
| Conflicts: src/libextra/test.rs src/libstd/at_vec.rs src/libstd/cleanup.rs src/libstd/rt/comm.rs src/libstd/rt/global_heap.rs src/libstd/task/spawn.rs src/libstd/unstable/lang.rs src/libstd/vec.rs src/rt/rustrt.def.in src/test/run-pass/extern-pub.rs | ||||
| 2013-07-01 | Refactored the runtime to view coroutines as a component of tasks, instead ↵ | toddaaro | -0/+1 | |
| of tasks as a component of coroutines. | ||||
| 2013-06-28 | librustc: Change "Owned" to "Send" everywhere | Patrick Walton | -4/+4 | |
| 2013-06-28 | std: silence some test warnings. | Huon Wilson | -8/+6 | |
| 2013-06-16 | Merge remote-tracking branch 'brson/io' | Brian Anderson | -13/+2 | |
| Conflicts: src/libstd/rt/comm.rs src/libstd/rt/mod.rs src/libstd/rt/sched.rs src/libstd/rt/task.rs src/libstd/rt/test.rs src/libstd/rt/tube.rs src/libstd/rt/uv/uvio.rs src/libstd/rt/uvio.rs src/libstd/task/spawn.rs | ||||
| 2013-06-15 | Merge remote-tracking branch 'brson/io-wip' into io | Brian Anderson | -13/+2 | |
| Conflicts: src/libstd/rt/sched.rs src/libstd/rt/task.rs src/libstd/rt/test.rs src/libstd/task/mod.rs src/libstd/task/spawn.rs | ||||
| 2013-06-13 | std::rt: Tasks must have an unwinder. Simpler | Brian Anderson | -10/+1 | |
| 2013-06-10 | debugged a compiler ICE when merging local::borrow changes into the main io ↵ | toddaaro | -1/+1 | |
| branch and modified the incoming new file lang.rs to be api-compatible | ||||
| 2013-06-04 | std::cell: Modernize constructors | Philipp Brüschweiler | -6/+6 | |
| Part of #3853 | ||||
| 2013-06-01 | Remove all uses of `pub impl`. rs=style | Patrick Walton | -11/+11 | |
