RE: Thread Creation/Destruction Problems

2007-06-17 Thread Croteau, Beau
: LoadModule ssl_module modules/mod_ssl.so Then the server application functions as expected, when I don't it leaks a thread handle every call. -Original Message- From: Croteau, Beau [mailto:[EMAIL PROTECTED] Sent: Thu 6/14/2007 5:43 PM To: dev@httpd.apache.org Subject: Thread Creation

Re: Thread Creation/Destruction Problems

2007-06-17 Thread William A. Rowe, Jr.
Croteau, Beau wrote: I've investigated further and the problem appears to have something to do with the mod_ssl module or a part of it's thread hooks. In my test server I create a thread using _beginthread(...) which means when the thread returns it should clean up after itself. If I

RE: Thread Creation/Destruction Problems

2007-06-17 Thread Croteau, Beau
Subject: Re: Thread Creation/Destruction Problems Croteau, Beau wrote: I've investigated further and the problem appears to have something to do with the mod_ssl module or a part of it's thread hooks. In my test server I create a thread using _beginthread(...) which means when the thread returns

Thread Creation/Destruction Problems

2007-06-14 Thread Croteau, Beau
I'm running the following code inside of an apache module (actually inside of a web service running inside an apache module): apr_thread_t *thd_arr; apr_pool_create(ai-mp, NULL); apr_threadattr_t *thd_attr; apr_threadattr_create(thd_attr, (ai-mp)); apr_threadattr_detach_set(thd_attr,1);