about summary refs log tree commit diff
path: root/src/libstd/path
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-11-24 21:32:13 -0800
committerbors <bors@rust-lang.org>2013-11-24 21:32:13 -0800
commit2cc1e16ac0ee1fe5ea07125215e2ee1d39e63c12 (patch)
tree456081dd6cdf57c5e1b7cc14e509e89d8a184fea /src/libstd/path
parentca3274336e9d61b29f6862b4706a2a105a208f0a (diff)
parentacca9e3834842ee8d8104abe9b8b9bb88861793c (diff)
downloadrust-2cc1e16ac0ee1fe5ea07125215e2ee1d39e63c12.tar.gz
rust-2cc1e16ac0ee1fe5ea07125215e2ee1d39e63c12.zip
auto merge of #10603 : alexcrichton/rust/no-linked-failure, r=brson
The reasons for doing this are:

* The model on which linked failure is based is inherently complex
* The implementation is also very complex, and there are few remaining who
  fully understand the implementation
* There are existing race conditions in the core context switching function of
  the scheduler, and possibly others.
* It's unclear whether this model of linked failure maps well to a 1:1 threading
  model

Linked failure is often a desired aspect of tasks, but we would like to take a
much more conservative approach in re-implementing linked failure if at all.

Closes #8674
Closes #8318
Closes #8863
Diffstat (limited to 'src/libstd/path')
-rw-r--r--src/libstd/path/posix.rs1
-rw-r--r--src/libstd/path/windows.rs1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/libstd/path/posix.rs b/src/libstd/path/posix.rs
index 86f1e7f6e86..37329a3cfbd 100644
--- a/src/libstd/path/posix.rs
+++ b/src/libstd/path/posix.rs
@@ -565,7 +565,6 @@ mod tests {
             ($name:expr => $code:block) => (
                 {
                     let mut t = task::task();
-                    t.supervised();
                     t.name($name);
                     let res = do t.try $code;
                     assert!(res.is_err());
diff --git a/src/libstd/path/windows.rs b/src/libstd/path/windows.rs
index d5bc6b85424..4ee490a303b 100644
--- a/src/libstd/path/windows.rs
+++ b/src/libstd/path/windows.rs
@@ -1290,7 +1290,6 @@ mod tests {
             ($name:expr => $code:block) => (
                 {
                     let mut t = task::task();
-                    t.supervised();
                     t.name($name);
                     let res = do t.try $code;
                     assert!(res.is_err());