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

List:       kde-perl
Subject:    Re: [Kde-perl] threads with PerlQt
From:       Marius Kjeldahl <marius () kjeldahl ! net>
Date:       2006-08-13 6:05:16
Message-ID: 44DEC11C.7070102 () kjeldahl ! net
[Download RAW message or body]

Perl's current threading model already leaves a lot to be desired, and I doubt 
it will play well with Qt's OS-level threads. If you decide to go ahead, make 
sure you understand both threading models on their own (and verify that they 
work like you expect in Perl) before you try to merge them.

I have no idea if QThread has been ported to Perl at all.

Marius K.

darrik wrote:
> I've been trying to get a multithreaded app working with PerlQt to no
> success whatsoever and was hoping someone could help me out.  It seems 
> there's no perl implementation of QThread, and interpreter threads cause 
> redundant garbage collection or some such ("attempt to free non-existant 
> shared string...").
> 
> Through much internet searching, I found something saying a possible 
> solution is to spawn a thread off the main thread for the GUI and spawn 
> no threads from that one, spawning all other threads off the main 
> thread.  I tried this to no success.
> 
> If anyone has any pointers for multithreaded perlqt apps, I'd appreciate 
> it greatly.  Even a hint toward some overlooked documentation would be 
> useful.
> 
> Thanks,
> Darrik Mazey
> _______________________________________________
> Kde-perl mailing list
> Kde-perl@kde.org
> https://mail.kde.org/mailman/listinfo/kde-perl

_______________________________________________
Kde-perl mailing list
Kde-perl@kde.org
https://mail.kde.org/mailman/listinfo/kde-perl
[prev in list] [next in list] [prev in thread] [next in thread] 

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