about summary refs log tree commit diff
path: root/src/libstd/rt/kill.rs
AgeCommit message (Collapse)AuthorLines
2013-08-16Reserve 'yield' keywordKevin Ballard-5/+5
Rename task::yield() to task::deschedule(). Fixes #8494.
2013-08-12Clean up transitionary glue in task/spawn.rs. Don't hold kill-little-lock ↵Ben Blum-2/+2
for O(n) time, cf #3100, and optimize out several unneeded clone()s.
2013-08-10std: Rename Iterator.transform -> .mapErick Tryzelaar-1/+1
cc #5898
2013-08-10Mass rename of .consume{,_iter}() to .move_iter()Erick Tryzelaar-1/+1
cc #7887
2013-08-08auto merge of #8385 : cmr/rust/big-rollup, r=alexcrichtonbors-1/+2
This is a fairly large rollup, but I've tested everything locally, and none of it should be platform-specific. r=alexcrichton (bdfdbdd) r=brson (d803c18) r=alexcrichton (a5041d0) r=bstrie (317412a) r=alexcrichton (135c85e) r=thestinger (8805baa) r=pcwalton (0661178) r=cmr (9397fe0) r=cmr (caa4135) r=cmr (6a21d93) r=cmr (4dc3379) r=cmr (0aa5154) r=cmr (18be261) r=thestinger (f10be03)
2013-08-07(cleanup) Improve rtabort message for atomic-sleep.Ben Blum-1/+2
2013-08-07Disable linked failure testsBrian Anderson-0/+6
The implementation currently contains a race that leads to segfaults.
2013-08-07std: removed option.take_map{,_default}Erick Tryzelaar-5/+5
2013-08-07core: option.map_consume -> option.map_moveErick Tryzelaar-2/+2
2013-08-05Lazily initialize 'leaf node' taskgroups for unlinked spawns, for an ↵Ben Blum-0/+4
apparent 11% speedup.
2013-08-05(cleanup) Uncomment an assertion that now holds.Ben Blum-5/+4
2013-08-02Don't fail from kill signals if already unwinding.Ben Blum-2/+2
2013-08-02Fix embarrassing bug where 'unkillable' would unwind improperly when it ↵Ben Blum-2/+3
receives a kill signal.
2013-08-01Temporary workaround to prevent taskgroup cleanup code from failing without ↵Ben Blum-1/+6
an exception handler.
2013-08-01Document task killing design and relaxed barrier rationale.Ben Blum-1/+57
2013-08-01Relax some atomic barriers. Loosen up all that tension. There, doesn't that ↵Ben Blum-10/+13
feel good?
2013-07-31Move atomically to unstable::sync, and document what it actually does. Close ↵Ben Blum-1/+1
#7872.
2013-07-30UnsafeArc methods return unsafe pointers, so are not themselves unsafe.Ben Blum-10/+10
2013-07-30Implement select() for new runtime pipes.Ben Blum-3/+30
2013-07-27Change concurrency primitives to standard naming conventionsSteven Stewart-Gallus-2/+2
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-20Add watched and indestructible spawn modes.Ben Blum-1/+1
2013-07-20Replace *rust_task ptrs in taskgroup code with TaskHandle, for transitioning ↵Ben Blum-0/+12
to newsched killing.
2013-07-20Stash a spare kill flag inside tasks, to save two atomic xadds in the ↵Ben Blum-37/+75
blocking fastpath.
2013-07-20Add tests for task killing and blocking.Ben Blum-0/+140
2013-07-20Add BlockedTask (wake, try_block, etc) in kill.rs.Ben Blum-2/+95
2013-07-20Do a task-killed check at the start of task 'timeslices'.Ben Blum-1/+27
2013-07-20Implement KillHandle::kill() and friends (unkillable, atomically). Close #6377.Ben Blum-2/+150
2013-07-20Add tests for KillHandleBen Blum-0/+140
2013-07-20Add kill::Death for task death services and use it in Task.Ben Blum-0/+67
2013-07-20Add KillHandle and implement exit code propagation to replace join_latchBen Blum-0/+128