On 7/26/2011 4:16 AM, Antonio Vieiro wrote:
> Hi all,
> 
> I imagine that APR hashtables [1] (and other data structures) are
> *not* thread safe; so it's necessary to use mutexes and friends in a
> multithreaded environment to work with them, am I right?
> 
> Thanks,
> Antonio
> 
> [1] http://apr.apache.org/docs/apr/1.4/group__apr__hash.html

Not for write operations; you are correct.

A read only hash is always threadsafe.

Reply via email to