httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhiguo zhao <zha...@gmail.com>
Subject A bug, apr_os_thread_current() not equal r->connection->current_thread
Date Tue, 15 Nov 2011 13:43:08 GMT
Hi,
   I failed with this on windows with branch 2.4.x,  in a handle hook,

apr_os_thread_t t = apr_os_thread_current();
apr_os_thread_t *t1;
apr_os_thread_get(&t1,  r->connection->current_thread);
printf("EQUALS %d\n",apr_os_thread_equal(t,t1));

I think t and t1 must be equal, But it Not.

I think this is a bug, Is this?

Mime
View raw message