Camel case various core constructors

This commit is contained in:
Brian Anderson 2012-08-27 14:22:25 -07:00
parent 4ba9fdd362
commit 161a82e433
113 changed files with 530 additions and 545 deletions

View file

@ -2,18 +2,17 @@
use std;
import comm;
import comm::port;
import comm::Port;
import comm::send;
import comm::Chan;
import comm::chan;
import comm::recv;
import task;
fn a(c: Chan<int>) { debug!("task a0"); debug!("task a1"); send(c, 10); }
fn main() {
let p = port();
let ch = chan(p);
let p = Port();
let ch = Chan(p);
task::spawn(|| a(ch) );
task::spawn(|| b(ch) );
let mut n: int = 0;