File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
branches/try2/src/libstd/rt Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
5
5
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
- refs/heads/try2: 8afec77cb07394c5f2d54dcc0ebe075fc304efb7
8
+ refs/heads/try2: d6ccc6bc99386ae20ac03b68e7ec504a16068242
9
9
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
10
10
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
11
11
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change @@ -748,7 +748,7 @@ mod test {
748
748
#[ test]
749
749
fn stream_send_recv_stress ( ) {
750
750
for stress_factor( ) . times {
751
- do run_in_newsched_task {
751
+ do run_in_mt_newsched_task {
752
752
let ( port, chan) = stream :: < ~int > ( ) ;
753
753
754
754
send( chan, 0 ) ;
@@ -758,18 +758,18 @@ mod test {
758
758
if i == 10 { return }
759
759
760
760
let chan_cell = Cell ( chan) ;
761
- let _thread = do spawntask_thread {
761
+ do spawntask_random {
762
762
let chan = chan_cell. take( ) ;
763
763
chan. send( ~i) ;
764
764
send( chan, i + 1 ) ;
765
- } ;
765
+ }
766
766
}
767
767
768
768
fn recv( port: Port < ~int > , i: int) {
769
769
if i == 10 { return }
770
770
771
771
let port_cell = Cell ( port) ;
772
- let _thread = do spawntask_thread {
772
+ do spawntask_random {
773
773
let port = port_cell. take( ) ;
774
774
assert!( port. recv( ) == ~i) ;
775
775
recv( port, i + 1 ) ;
You can’t perform that action at this time.
0 commit comments