summaryrefslogtreecommitdiff
path: root/tests/test_shutdown_stress.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-11-04 09:48:25 +0100
committerMartin Sustrik <sustrik@250bpm.com>2011-11-04 09:48:25 +0100
commit05ce301f3571e3e690792a189cb927328163f0bc (patch)
tree1145b921033a2b88e9b987ec1d3e03060559702d /tests/test_shutdown_stress.cpp
parenta8362abf11b51dd553766fb07a9e60f28e788126 (diff)
parent6cdd720400ea456ccbfdf09cdc5054ab07dbdc6f (diff)
Merge branch 'master' of github.com:zeromq/libzmq
Diffstat (limited to 'tests/test_shutdown_stress.cpp')
-rw-r--r--tests/test_shutdown_stress.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/test_shutdown_stress.cpp b/tests/test_shutdown_stress.cpp
index b3ee90f..811637c 100644
--- a/tests/test_shutdown_stress.cpp
+++ b/tests/test_shutdown_stress.cpp
@@ -1,6 +1,7 @@
/*
- Copyright (c) 2007-2011 iMatix Corporation
- Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
+ Copyright (c) 2010-2011 250bpm s.r.o.
+ Copyright (c) 2011 iMatix Corporation
+ Copyright (c) 2010-2011 Other contributors as noted in the AUTHORS file
This file is part of 0MQ.
@@ -22,6 +23,7 @@
#include <assert.h>
#include <pthread.h>
#include <stddef.h>
+#include <stdio.h>
#define THREAD_COUNT 100
@@ -52,6 +54,8 @@ int main (int argc, char *argv [])
int rc;
pthread_t threads [THREAD_COUNT];
+ fprintf (stderr, "test_shutdown_stress running...\n");
+
for (j = 0; j != 10; j++) {
// Check the shutdown with many parallel I/O threads.