[Kde-perl] threads with PerlQt

Marius Kjeldahl marius at kjeldahl.net
Sun Aug 13 08:05:16 CEST 2006


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 at kde.org
> https://mail.kde.org/mailman/listinfo/kde-perl



More information about the Kde-perl mailing list