summaryrefslogtreecommitdiff
path: root/pjlib/src/pjlib-test
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-03-25 10:06:00 +0000
committerBenny Prijono <bennylp@teluu.com>2006-03-25 10:06:00 +0000
commite985f59aabf893535e0d12c5867e44d69ccb83fe (patch)
tree49cb9c58fe740d576c5b2f61a13bdb595397cdb9 /pjlib/src/pjlib-test
parentd40f548adc55a8c79e1ff21f349535ac2f921895 (diff)
Fixed bug in ioqueue: crashed when key is unregistered while another thread is running a callback
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@363 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src/pjlib-test')
-rw-r--r--pjlib/src/pjlib-test/ioq_perf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pjlib/src/pjlib-test/ioq_perf.c b/pjlib/src/pjlib-test/ioq_perf.c
index e5453f27..bf0e6273 100644
--- a/pjlib/src/pjlib-test/ioq_perf.c
+++ b/pjlib/src/pjlib-test/ioq_perf.c
@@ -391,7 +391,6 @@ static int perform_test(int sock_type, const char *type_name,
for (i=0; i<thread_cnt; ++i) {
TRACE_((THIS_FILE, " join thread %d..", i));
pj_thread_join(thread[i]);
- pj_thread_destroy(thread[i]);
}
/* Close all sockets. */
@@ -428,7 +427,7 @@ static int perform_test(int sock_type, const char *type_name,
*p_bandwidth = (pj_uint32_t)bandwidth;
- PJ_LOG(3,(THIS_FILE, " %.4s %d %d %8d KB/s",
+ PJ_LOG(3,(THIS_FILE, " %.4s %2d %2d %8d KB/s",
type_name, thread_cnt, sockpair_cnt,
*p_bandwidth));