From 330311658ff0cb48c70e769911fe67d5cd90dd78 Mon Sep 17 00:00:00 2001 From: Ben Blum Date: Sun, 26 Aug 2012 22:15:10 -0400 Subject: [PATCH] fix bench test for arc::arc camelcase --- src/test/bench/graph500-bfs.rs | 2 +- src/test/bench/msgsend-ring-mutex-arcs.rs | 2 +- src/test/bench/msgsend-ring-rw-arcs.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/bench/graph500-bfs.rs b/src/test/bench/graph500-bfs.rs index 78a3dd5ed96..44588a1ecdb 100644 --- a/src/test/bench/graph500-bfs.rs +++ b/src/test/bench/graph500-bfs.rs @@ -206,7 +206,7 @@ fn bfs2(graph: graph, key: node_id) -> bfs_result { } /// A parallel version of the bfs function. -fn pbfs(&&graph: arc::arc, key: node_id) -> bfs_result { +fn pbfs(&&graph: arc::ARC, key: node_id) -> bfs_result { // This works by doing functional updates of a color vector. enum color { diff --git a/src/test/bench/msgsend-ring-mutex-arcs.rs b/src/test/bench/msgsend-ring-mutex-arcs.rs index f3edd13cc36..55c261566bf 100644 --- a/src/test/bench/msgsend-ring-mutex-arcs.rs +++ b/src/test/bench/msgsend-ring-mutex-arcs.rs @@ -14,7 +14,7 @@ import std::time; import std::arc; // A poor man's pipe. -type pipe = arc::mutex_arc<~[uint]>; +type pipe = arc::MutexARC<~[uint]>; fn send(p: &pipe, msg: uint) { do p.access_cond |state, cond| { diff --git a/src/test/bench/msgsend-ring-rw-arcs.rs b/src/test/bench/msgsend-ring-rw-arcs.rs index 76b2f685841..4331e563958 100644 --- a/src/test/bench/msgsend-ring-rw-arcs.rs +++ b/src/test/bench/msgsend-ring-rw-arcs.rs @@ -14,7 +14,7 @@ import std::time; import std::arc; // A poor man's pipe. -type pipe = arc::rw_arc<~[uint]>; +type pipe = arc::RWARC<~[uint]>; fn send(p: &pipe, msg: uint) { do p.write_cond |state, cond| {