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

List:       kde-bindings
Subject:    Re: [Kde-bindings] Threads + smoke + perl?
From:       Gary Greene <greeneg () tolharadys ! net>
Date:       2008-10-04 7:56:04
Message-ID: 200810040056.08308.greeneg () tolharadys ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Friday 03 October 2008 04:40:22 pm Ashley Winters wrote:
> --- On Fri, 10/3/08, Chris Burel <chrisburel@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@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.

["signature.asc" (application/pgp-signature)]

_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings


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

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