rbb 01/07/27 12:21:39
Modified: test testthread.c
Log:
Remove unused pool variables from the testthread code.
Revision Changes Path
1.19 +0 -4 apr/test/testthread.c
Index: testthread.c
===================================================================
RCS file: /home/cvs/apr/test/testthread.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- testthread.c 2001/07/24 05:17:26 1.18
+++ testthread.c 2001/07/27 19:21:39 1.19
@@ -87,7 +87,6 @@
void * APR_THREAD_FUNC thread_func1(apr_thread_t *thd, void *data)
{
int i;
- apr_pool_t *pool = apr_thread_pool_get(thd);
for (i = 0; i < 10000; i++) {
apr_lock_acquire(thread_lock);
x++;
@@ -100,7 +99,6 @@
void * APR_THREAD_FUNC thread_func2(apr_thread_t *thd, void *data)
{
int i;
- apr_pool_t *pool = apr_thread_pool_get(thd);
for (i = 0; i < 10000; i++) {
apr_lock_acquire(thread_lock);
x++;
@@ -113,7 +111,6 @@
void * APR_THREAD_FUNC thread_func3(apr_thread_t *thd, void *data)
{
int i;
- apr_pool_t *pool = apr_thread_pool_get(thd);
for (i = 0; i < 10000; i++) {
apr_lock_acquire(thread_lock);
x++;
@@ -126,7 +123,6 @@
void * APR_THREAD_FUNC thread_func4(apr_thread_t *thd, void *data)
{
int i;
- apr_pool_t *pool = apr_thread_pool_get(thd);
for (i = 0; i < 10000; i++) {
apr_lock_acquire(thread_lock);
x++;