Re: [PATCH] util: workaround libxml2 lack of thread safe initialization

2025-06-23 Thread Daniel P . Berrangé via Devel
On Mon, Jun 23, 2025 at 12:02:31PM +0100, Daniel P. Berrangé wrote: > From: Daniel P. Berrangé > > The main XML parser code global initializer historically had a mutex > protecting it, and more recently uses a pthread_once. The RelaxNG > code, however, relies on three other global initializers th

Re: [PATCH] util: workaround libxml2 lack of thread safe initialization

2025-06-23 Thread Daniel P . Berrangé via Devel
On Mon, Jun 23, 2025 at 01:16:01PM +0200, Peter Krempa wrote: > On Mon, Jun 23, 2025 at 12:02:31 +0100, Daniel P. Berrangé via Devel wrote: > > From: Daniel P. Berrangé > > > > The main XML parser code global initializer historically had a mutex > > protecting it, and more recently uses a pthread

Re: [PATCH] util: workaround libxml2 lack of thread safe initialization

2025-06-23 Thread Peter Krempa via Devel
On Mon, Jun 23, 2025 at 12:02:31 +0100, Daniel P. Berrangé via Devel wrote: > From: Daniel P. Berrangé > > The main XML parser code global initializer historically had a mutex > protecting it, and more recently uses a pthread_once. The RelaxNG > code, however, relies on three other global initial