[Kde-bindings] Threads + smoke + perl?

Gary Greene greeneg at tolharadys.net
Sat Oct 4 07:56:04 UTC 2008


On Friday 03 October 2008 04:40:22 pm Ashley Winters wrote:
> --- On Fri, 10/3/08, Chris Burel <chrisburel at gmail.com> wrote:
> > How do I get the perl
> > interpreter to be
> > visible to child threads?
>
> http://perldoc.perl.org/perlguts.html#Should-I-do-anything-special-if-I-cal
>l-perl-from-multiple-threads%3f
>
> Perl has thread-local storage which needs to be initialized before calling
> the API.
>
> - Ashley Winters
>
>
>
> _______________________________________________
> Kde-bindings mailing list
> Kde-bindings at kde.org
> https://mail.kde.org/mailman/listinfo/kde-bindings

Be very careful about mixing the thread models here. Perl's ithreads and Qt's 
native threads don't mix well from what I recall from working on some of the 
PerlQt3 code a couple months ago.

-- 
Gary L. Greene, Jr.
Sent from: peorth
 00:47:08 up 33 days, 48 min, 11 users,  load average: 0.18, 0.24, 0.20
==========================================================================
Developer and Project Lead for the AltimatOS open source project
Volunteer Developer for the KDE open source project
See http://www.altimatos.com/ and http://www.kde.org/ for more information
==========================================================================

Please avoid sending me Word or PowerPoint attachments.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20081004/a3964e8f/attachment.sig>


More information about the Kde-bindings mailing list