[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taglib-devel
Subject:    Re: String::detach() not thread-safe?
From:       Tsuda Kageyu <tsuda.kageyu () gmail ! com>
Date:       2015-05-14 6:31:45
Message-ID: CAG4hMGcuL4r1Pjr1=ni9MkoCG2SOzC11P2WwqbOS9=u73_xkhw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hmm, I was wrong. PR #493 won't fix your problem, PR #493 will fix only
ByteVector...

2015-05-09 23:30 GMT+09:00 Tsuda Kageyu <tsuda.kageyu@gmail.com>:

> Hi Kevin,
>
> I made another PR #493 that will fix your problem as well. But it hasn't
> been reviewed yet.
>
> Cheers,
> Kageyu
>
> 2015-05-09 22:05 GMT+09:00 Kevin Andr=C3=A9 <hyperquantum@gmail.com>:
>
>> Hi,
>>
>> On Sat, Nov 15, 2014 at 2:03 PM, Tsuda Kageyu <tsuda.kageyu@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
>> _______________________________________________
>> taglib-devel mailing list
>> taglib-devel@kde.org
>> https://mail.kde.org/mailman/listinfo/taglib-devel
>>
>
>

[Attachment #5 (text/html)]

<div dir="ltr">Hmm, I was wrong. PR #493 won&#39;t fix your problem, PR #493 will fix \
only ByteVector...</div><div class="gmail_extra"><br><div \
class="gmail_quote">2015-05-09 23:30 GMT+09:00 Tsuda Kageyu <span dir="ltr">&lt;<a \
href="mailto:tsuda.kageyu@gmail.com" \
target="_blank">tsuda.kageyu@gmail.com</a>&gt;</span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi Kevin,<div><br></div><div>I made another PR \
#493 that will fix your problem as well. But it hasn&#39;t been reviewed \
yet.</div><div><br></div><div>Cheers,</div><div>Kageyu</div></div><div \
class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div \
class="gmail_quote">2015-05-09 22:05 GMT+09:00 Kevin André <span dir="ltr">&lt;<a \
href="mailto:hyperquantum@gmail.com" \
target="_blank">hyperquantum@gmail.com</a>&gt;</span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Hi,<br> <span><br>
On Sat, Nov 15, 2014 at 2:03 PM, Tsuda Kageyu &lt;<a \
href="mailto:tsuda.kageyu@gmail.com" target="_blank">tsuda.kageyu@gmail.com</a>&gt; \
wrote:<br> &gt; I suggested a pull request that will fix it:<br>
&gt; <a href="https://github.com/taglib/taglib/pull/433" \
target="_blank">https://github.com/taglib/taglib/pull/433</a><br> <br>
</span>It seems the merge request was denied because the changes were<br>
considered too complicated. So I need another solution.<br>
<br>
I think only the static members need to be fixed. Like String::null.<br>
Either the static members need to be made thread-safe, or they will<br>
need to be removed.<br>
Or I will need to create a taglib worker thread in my application,<br>
with a queue to handle all tasks that need taglib. That would<br>
complicate things a lot, I guess.<br>
<br>
<br>
Regards,<br>
<br>
Kevin<br>
<div><div>_______________________________________________<br>
taglib-devel mailing list<br>
<a href="mailto:taglib-devel@kde.org" target="_blank">taglib-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/taglib-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/taglib-devel</a><br> \
</div></div></blockquote></div><br></div> </div></div></blockquote></div><br></div>


[Attachment #6 (text/plain)]

_______________________________________________
taglib-devel mailing list
taglib-devel@kde.org
https://mail.kde.org/mailman/listinfo/taglib-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic