String::detach() not thread-safe?

Kevin André hyperquantum at gmail.com
Sat May 9 13:05:10 UTC 2015


Hi,

On Sat, Nov 15, 2014 at 2:03 PM, Tsuda Kageyu <tsuda.kageyu at gmail.com> wrote:
> I suggested a pull request that will fix it:
> https://github.com/taglib/taglib/pull/433

It seems the merge request was denied because the changes were
considered too complicated. So I need another solution.

I think only the static members need to be fixed. Like String::null.
Either the static members need to be made thread-safe, or they will
need to be removed.
Or I will need to create a taglib worker thread in my application,
with a queue to handle all tasks that need taglib. That would
complicate things a lot, I guess.


Regards,

Kevin


More information about the taglib-devel mailing list