libxml-raku / LibXML-raku

Raku bindings to the libxml2 native library
Artistic License 2.0
11 stars 5 forks source link

Refactor the code to make it more thread-safe #70

Closed vrurg closed 2 years ago

vrurg commented 2 years ago

The primary focus is to get rid of bare uses of require which sometimes leaks VMNull into userland due to race condition. Runtime module loading is now done via require-package sub.

Another case covered is $!hstore attributes of LibXML::Node::Set and LibXML::Node::List. These are now lazy-initialized and reset using atomic operations.

vrurg commented 2 years ago

I'm confused about the workflow failing to install a dependency. Would try to simulate it locally.

dwarring commented 2 years ago

Released with LibXML 0.6.15.