apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: svn commit: r683191 - /apr/apr-util/trunk/misc/apr_reslist.c
Date Wed, 06 Aug 2008 10:27:04 GMT
Ruediger Pluem wrote:
 >
 >
 > This looks dangerous to me. The destructor gets the reslist pool 
handed over
 > and pools are not thread save. See also:
 >

Hmm, might be. Although the pool create/destroy
is thread safe.

The major problem with invalidate is that blocking
destructors (socket shutdown for example)
are serialized, meaning that closing 100 sockets
is done one at a time instead by owning threads in
parallel.



Regards
-- 
^(TM)


Mime
View raw message