[redland-dev] raptor_parsers_finish

Sebastian Trüg strueg at mandriva.com
Thu May 29 15:43:06 BST 2008


On Thursday 29 May 2008 16:04:28 Michael Stahl wrote:
> hello,
>
> in latest raptor release 1.4.17/ redland 1.0.7,
> librdf_free_world calls raptor_parsers_finish, which kills a "static"
> variable "parsers".
>
> this makes other librdf_worlds very unhappy, as they cannot create parsers
> any more.
>
> right now i use a librdf_world for every repository/model, as that is just
> simplest to implement; is this supposed to work, or should i use just one
> librdf_world per process?
>
> or is this a bug, and the "parsers" variable should never be freed / be a
> part of the librdf_world?

I actually to the same in Soprano since I ran in so much trouble with a single 
world instance and multithreading.

It is not the way world was intended to be used but it works flawlessly.

Cheers,
Sebastian


More information about the redland-dev mailing list