You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Hanson, Jon" <jh...@lehman.com> on 2000/08/30 16:34:38 UTC

pthread_mutex_lock () hanging in DOMParser init

I'm experiencing a problem when I create a second instance of the DOMParser
object even after the first has been destroyed. The DOMParser class does
some initialisation which it protects within a mutex zone. The second time
the DOMParser object is created and the initialisation occurs a call to
pthread_mutex_lock () in util/SolarisPlatformUtils.cpp line 615 hangs
presumably because the mutex is already locked.

I'm using Xerces/C V1.2 on Solaris 2.6

Any ideas why this might happen?

Cheers,
jon