Cleanup mttest.c : do not try to output reference counts when threads are done
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
7a1789d254
commit
964626957f
@ -803,8 +803,12 @@ void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
|
|||||||
thr_join(thread_ctx[i], NULL, NULL);
|
thr_join(thread_ctx[i], NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0 /* We can't currently find out the reference amount */
|
||||||
BIO_printf(bio_stdout, "solaris threads done (%d,%d)\n",
|
BIO_printf(bio_stdout, "solaris threads done (%d,%d)\n",
|
||||||
s_ctx->references, c_ctx->references);
|
s_ctx->references, c_ctx->references);
|
||||||
|
#else
|
||||||
|
BIO_printf(bio_stdout, "solaris threads done\n");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void solaris_thread_id(CRYPTO_THREADID *tid)
|
void solaris_thread_id(CRYPTO_THREADID *tid)
|
||||||
@ -887,8 +891,12 @@ void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
|
|||||||
wait(NULL);
|
wait(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0 /* We can't currently find out the reference amount */
|
||||||
BIO_printf(bio_stdout, "irix threads done (%d,%d)\n",
|
BIO_printf(bio_stdout, "irix threads done (%d,%d)\n",
|
||||||
s_ctx->references, c_ctx->references);
|
s_ctx->references, c_ctx->references);
|
||||||
|
#else
|
||||||
|
BIO_printf(bio_stdout, "irix threads done\n");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long irix_thread_id(void)
|
unsigned long irix_thread_id(void)
|
||||||
@ -965,8 +973,12 @@ void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
|
|||||||
pthread_join(thread_ctx[i], NULL);
|
pthread_join(thread_ctx[i], NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0 /* We can't currently find out the reference amount */
|
||||||
BIO_printf(bio_stdout, "pthreads threads done (%d,%d)\n",
|
BIO_printf(bio_stdout, "pthreads threads done (%d,%d)\n",
|
||||||
s_ctx->references, c_ctx->references);
|
s_ctx->references, c_ctx->references);
|
||||||
|
#else
|
||||||
|
BIO_printf(bio_stdout, "pthreads threads done\n");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void pthreads_thread_id(CRYPTO_THREADID *tid)
|
void pthreads_thread_id(CRYPTO_THREADID *tid)
|
||||||
@ -1043,8 +1055,12 @@ void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx)
|
|||||||
for (i = 0; i < thread_number; i++) {
|
for (i = 0; i < thread_number; i++) {
|
||||||
MPKSemaphoreWait(ThreadSem);
|
MPKSemaphoreWait(ThreadSem);
|
||||||
}
|
}
|
||||||
|
#if 0 /* We can't currently find out the reference amount */
|
||||||
BIO_printf(bio_stdout, "netware threads done (%d,%d)\n",
|
BIO_printf(bio_stdout, "netware threads done (%d,%d)\n",
|
||||||
s_ctx->references, c_ctx->references);
|
s_ctx->references, c_ctx->references);
|
||||||
|
#else
|
||||||
|
BIO_printf(bio_stdout, "netware threads done\n");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long netware_thread_id(void)
|
unsigned long netware_thread_id(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user