RE: [perl-win32-gui-users] Working with threads

2004-08-19 Thread Frazier, Joe Jr
, June 24, 2004 10:41 AM To: perl Win32::GUI Users Subject: [perl-win32-gui-users] Working with threads This model works quite well: - use win32::GUI; use threads; use Thread::Queue; # contruct GUI here -- my $commandQueue = Thread::Queue-new; threads-new(sub { while

Re: [perl-win32-gui-users] Working with threads

2004-08-19 Thread Jez White
Hi, [snipped code] This works, but the problem is when I exit the program, I get this warning printed to STDOUT: d:\gui100.pl A thread exited while 2 threads were running. Anyone know how stop this? Also, now that I have 5.8, I hope to be able to use threads more often. Can anyone

Re: [perl-win32-gui-users] Working with threads

2004-06-24 Thread Jez White
exercise rather futile! Hope that is of some help... Cheers, jez. - Original Message - From: Brad Smith [EMAIL PROTECTED] To: perl-win32-gui-users@lists.sourceforge.net Sent: Wednesday, June 23, 2004 11:49 AM Subject: [perl-win32-gui-users] Working with threads Yesterday, after

[perl-win32-gui-users] Working with threads

2004-06-24 Thread Blair Sutton
This model works quite well: - use win32::GUI; use threads; use Thread::Queue; # contruct GUI here -- my $commandQueue = Thread::Queue-new; threads-new(sub { while (my $command = $commandQueue-dequeue) { eval $command; warn $@ if $@; } });

[perl-win32-gui-users] Working with threads

2004-06-23 Thread Brad Smith
Yesterday, after finishing a gui, I started reading some old list postings on threads. I looked over my application and found a part of the code where I could test the threading (perl 5.8.x). Best part, it worked! I have been programming in Perl steadily for the past five years, and it has