Skip Menu |

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 16152
Status: resolved
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: tdb01r [...] ecs.soton.ac.uk
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.58_1
Fixed in: (no value)

Attachments


Subject: patch for error handling in threads
Patch against CVS LibXML.xs (r1.185) Perl 5.8.7 i686-linux-thread-multi-64int / Linux 2.6 / libxml 1.8.17 Replaces all existing error() functions in favour of new error_ctx() functions that correctly use libxml's void * context variable to store error messages. Removes the class-global get_last_error(). TODO: Callbacks may not work under threads?
Download libxml-threads.tar.gz
application/x-gzip 6.1k

Message body not shown because it is not plain text.

On ne 27.lis.2005 12:39:55, guest wrote: Show quoted text
> Patch against CVS LibXML.xs (r1.185) > > Perl 5.8.7 i686-linux-thread-multi-64int / Linux 2.6 / libxml 1.8.17 > > Replaces all existing error() functions in favour of new error_ctx() > functions that correctly use libxml's void * context variable to
store Show quoted text
> error messages. > > Removes the class-global get_last_error(). > > TODO: Callbacks may not work under threads?
Ok, I have adapted and extended the patch and applied it in the CVS. This still doesn't make XML-LibXML fully thread-safe but still helps a lot. Thanks! -- Petr