We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6c63a3 commit 0a87d93Copy full SHA for 0a87d93
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: 9b9fc33663ea20242181e3c5a2f13efc0f40b377
+refs/heads/master: 768306baddc07ca8f43dd20c76f4647727a35cd7
trunk/src/test/run-pass/issue-783.rs
@@ -0,0 +1,25 @@
+use std;
+import std::comm::*;
3
+import std::task::*;
4
+
5
+fn a(&&_args: ()) {
6
+ fn doit() {
7
+ fn b(c: chan<chan<int>>) {
8
+ let p = port();
9
+ send(c, chan(p));
10
+ }
11
12
+ spawn(chan(p), b);
13
+ recv(p);
14
15
+ let i = 0;
16
+ while i < 100 {
17
+ doit();
18
+ i += 1;
19
20
+}
21
22
+fn main() {
23
+ let t = spawn_joinable((), a);
24
+ join(t);
25
0 commit comments