summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSusan LoVerso <sue@wiredtiger.com>2014-04-15 17:15:10 -0400
committerSusan LoVerso <sue@wiredtiger.com>2014-04-15 17:15:10 -0400
commit96b4effe7d5ce5dee6ca722e10061d6850921f98 (patch)
tree7538d117105658523fce421f8f1e758480d3c4b0 /examples
parent477a7797f394259e644941ce0ceca07c549094e9 (diff)
downloadmongo-96b4effe7d5ce5dee6ca722e10061d6850921f98.tar.gz
Implement a ring buffer without locking.
Diffstat (limited to 'examples')
-rw-r--r--examples/c/ex_async.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/c/ex_async.c b/examples/c/ex_async.c
index c185fdbe9c6..8e29bcf93e8 100644
--- a/examples/c/ex_async.c
+++ b/examples/c/ex_async.c
@@ -109,7 +109,8 @@ retry:
* If we used up all the ops, pause and retry to
* give the workers a chance to process them.
*/
- fprintf(stderr, "Iteration %d: table 1 ret %d\n",i,ret);
+ fprintf(stderr,
+ "Iteration %d: async_new_op ret %d\n",i,ret);
sleep(1);
goto retry;
}