MySQL embedded and pthreads

Edward Hades edward.hades at gmail.com
Tue Jul 29 20:30:36 CEST 2008


Thanks so much! It's marvelous ;)

On Tue, Jul 29, 2008 at 11:49 AM, Maximilian Kossick
<maximilian.kossick at googlemail.com> wrote:
> On Tue, Jul 29, 2008 at 8:32 AM, Edward Hades <edward.hades at gmail.com> wrote:
>> On Tue, Jul 29, 2008 at 7:39 AM, Ian Monroe <ian at monroe.nu> wrote:
>> Thanks, I'll look into it.
>
> After thinking about it some more, the best solution is to use
> QThreadStorage (which deletes the stored object when the thread exits,
> so store some object which calls the mysql cleanup code in its dtor).
> Qt is awesome:) that way ThreadWeaver can manage its thread pool and
> Qt will take care of calling our cleanup code
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel at kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel
>


More information about the Amarok-devel mailing list