diff options
author | Susan LoVerso <sue@wiredtiger.com> | 2014-04-15 17:15:10 -0400 |
---|---|---|
committer | Susan LoVerso <sue@wiredtiger.com> | 2014-04-15 17:15:10 -0400 |
commit | 96b4effe7d5ce5dee6ca722e10061d6850921f98 (patch) | |
tree | 7538d117105658523fce421f8f1e758480d3c4b0 /examples | |
parent | 477a7797f394259e644941ce0ceca07c549094e9 (diff) | |
download | mongo-96b4effe7d5ce5dee6ca722e10061d6850921f98.tar.gz |
Implement a ring buffer without locking.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/c/ex_async.c | 3 |
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; } |