On Mon, 31 Mar 2014 18:31:28 +0200, Chris Marshall
<[email protected]> wrote:
Where is the use threads stuff?
Sorry, it's using PDL::Parallel::threads which allows sharing PDLs across
threads. It does import Perl's standard threads module AFAIK.
--Roland
On Mon, Mar 31, 2014 at 9:05 AM, Schregle Roland HSLU T&A <
[email protected]> wrote:
On Sun, 30 Mar 2014 21:20:19 +0200, Chris Marshall
<[email protected]>
wrote:
Hi Roland-
Could you please send me a small sample code that generates
the GLUquad warnings as well as your perl -V output? I think
the problem is related to recent perl and some modules automatically
enabling warnings. I need to see the exact string so I can try to
reproduce.
Hi Chris,
the following code issues the warnings (which I currently disable by
commenting out "use warnings"):
---------------------------------------------------------------
#!/usr/bin/perl
use strict;
use warnings;
use PDL;
use PDL::Parallel::threads;
use PDL::Graphics2D;
sub PDL::Graphics2D::twiddle {};
my $img = zeroes(3,400,400);
my $win = imag2d($img, "Test");
threads->new(sub { print "In non-grafix thread...\n"; });
for my $thr (threads->list) {
$thr->join;
}
---------------------------------------------------------------
--
Dr. Roland Schregle
Senior Research Associate
T direct: +41 41 349 39 77
[email protected]
Lucerne University of Applied Sciences and Arts
School of Engineering and Architecture
CC Envelopes and Solar Energy (EASE)
Technikumstrasse 21, CH-6048 Horw
T +41 41 349 33 11, F +41 41 349 39 60
www.hslu.ch/ccease
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl