Re: Win32::GUI, WMI, and threads

2011-10-27 Thread Jonathan Epstein
events the GUI code from doing its normal event loop processing and results in a non-responsive windows interface. I’m thinking that threads are the answer, but any time I’ve mixed threads and Win32::OLE, the results have been less than satisfactory. Does anyone know how to make Win32

Win32::GUI, WMI, and threads

2011-10-27 Thread Ken Cornetet
ormal event loop processing and results in a non-responsive windows interface. I'm thinking that threads are the answer, but any time I've mixed threads and Win32::OLE, the results have been less than satisfactory. Does anyone know how to make Win32::OLE (WMI specifically) and thread

Re: Net::SNMP and threads

2007-06-17 Thread Chris Wagner
At 06:26 PM 6/17/2007 -0700, Bill Luebkert wrote: >I thought you could only start 64 threads on doze ? What happens with just >50 threads instead of 100 ? I've had over 70 running on XP. The script is actually running on Solaris. That's why I said I was "just asking&quo

Net::SNMP and threads

2007-06-17 Thread Chris Wagner
Greetz all, my email was toasted but now I finally got it fixed. I wanted to ask here if anybody had any experience using Net::SNMP with threads. I'm working on a script that uses it to poll device data with 100 concurrent threads. The memory usage however goes up forever, until it crashe

simple perl 5.8 thread pool creation was "perl 5.8 threads and Thread::Pool"

2006-12-09 Thread mailware
Hi all, Activestate only support v.0.1 of Thread-Pool, while the current module, 0.32 is not supported. The one provided in the activeperl repository (0.1) does not support perl 5.8 threads. How can I implement simple thread-pooling using perl 5.8 threads? I would need some way of injecting

perl 5.8 threads and Thread::Pool

2006-12-09 Thread mailware
hi all, I want to create a pool of perl 5.8 threads, but Thread::Pool was built for the old Thread implementation, and it does not work! is there a module for perl 5.8 that creates thread pools? Thanks in advance for your help. -Jer A. ___ Perl

Re: Threads Error

2006-08-19 Thread Chris Wagner
Another thing that will help prevent problems, are u locking all ur shared variables before accessing them? {lock $var; pop @array;} etc. At 01:20 AM 8/19/2006 -0400, Chris O wrote: >Thanks for the insight. I'm looking into the queing mod now. In the mean >time, I found that using an array instea

Re: Threads Error

2006-08-18 Thread Chris Wagner
At 03:10 PM 8/18/2006 -0400, Chris O wrote: >huge amount of internet content (similar to a search engine). I'm using a >hash to store and limit concurrent threads to reasonable number; as well as >sharing hashes between threads (threads::shared); At seemingly random >intervals t

Threads Error

2006-08-18 Thread Chris O
All, I have a script that utilizes www::mechanize to download and categorize a huge amount of internet content (similar to a search engine). I'm using a hash to store and limit concurrent threads to reasonable number; as well as sharing hashes between threads (threads::shared); At seem

Re: threads terminate my perl scripts

2006-07-26 Thread Chris Wagner
If perl itself is dieing just from doing use threads I would try reinstalling it with a fresh download. If it still does it I would file a bug report. http://bugs.activestate.com/ -- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-- "...ne cede malis

threads terminate my perl scripts

2006-07-26 Thread Roberto S. G.
hi, I'm using Activestate perl 5.8.8 build817 in a Windows 2003 SP1 server enterprise edition Appliance. I've been trying to use threads in my scripts, but neither "use threads" nor "fork" run... : the script just dies in the threads->create(), no info is show

RE: Win32::OLE & threads

2006-05-12 Thread Jan Dubois
On Fri, 12 May 2006, ? wrote: > I have the latest - 5.8.8.817 - perl installed on my Win2000 SP4. > Running this script > > use threads; use Win32::OLE; threads->new( sub {print "oops, i did it > again\n"} )->join; __END__ > > crushes perl

Win32::OLE & threads

2006-05-12 Thread Артем Аветисян
Hi, all. I have the latest - 5.8.8.817 - perl installed on my Win2000 SP4. Running this script use threads; use Win32::OLE; threads->new( sub {print "oops, i did it again\n"} )->join; __END__ crushes perl interpreter after execution with the following message: "Free to w

Win32 Perl Threads SLOW memory leak.

2006-04-13 Thread John Serink
elect; use Time::HiRes qw(gettimeofday); use threads; use threads::shared; my $MODBUSPORT=502; my $UPDATERATE = 30; my $CONNECTIONTIMEOUT = 10; my $SOCKREADTIMEOUT = 5; my $myfile = ">log.log"; my $i=0; my $responsesIndex = 0; my $thistime=gettimeofday(); my $starttime=$thistime

RE: ActivePerl 5.8.8.817 released-Win32 Threads Leaking handles

2006-03-29 Thread John Serink
Hello Jan and Fellow Users: The Win32 threads leaking handles bug is fixed! Yippie! OUTSTANDING! Well done development team. Have tested it on my leaking handles script and my production code, looks good. The number of handles open jumps when the threads are launched and as the detached threads

Re: Threads

2006-02-27 Thread Tom Pollard
On Tue, Feb 28, 2006 at 10:51:39AM +0800, Foo Ji-Haw wrote: > But don't get too ambitious on Perl's ithreads. They are fun, but not as > rich as threads from other languages. They're also unstable under Unix, and will cause your script to crash randomly (though not frequen

Re: Threads

2006-02-27 Thread Foo Ji-Haw
Yup. Basically that's it. :) But don't get too ambitious on Perl's ithreads. They are fun, but not as rich as threads from other languages. Carter Thompson wrote: Is this really as easy as it seems or am I over looking something? I have an array with references to tests.

Threads

2006-02-27 Thread Carter Thompson
Is this really as easy as it seems or am I over looking something? I have an array with references to tests. I want to loop through each element in the array, call a subroutine passing in the test reference using a thread. When all tests (threads) have been started I want to loop through all

threads and consoles

2006-01-16 Thread John Serink
Hi All: Is there a way for a thread to have its own console separate from the calling process? Cheers, john ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

creating sub-threads

2006-01-12 Thread Foo Ji-Haw
Hi all, Does anyone know if it is possible for a thread to create its own child threads? All the threads that are created seem to be tied to the main thread, regardless of the thread they were created from. I've tried: threads->self->create But it's no go either. Compl

Detecting 'dead' threads in Perl

2005-12-20 Thread Foo Ji-Haw
Hi all, Just wondering if anyone is working with ithreads (not the old threading model). If so, how do you discover dead threads? Hope you can share your experiences. Thanks. ___ Perl-Win32-Users mailing list Perl-Win32-Users

Re: [threads] Forced termination

2005-08-29 Thread $Bill Luebkert
Tom Pollard wrote: > The use of an alarm to timeout an eval{} block definitely works. I don't > know why it works, but it does. I do get the impression that alarms are > handled in some special way by perl, because this idiom works on all > platforms we've tried it on (Linux, AIX, IRIX, MacOSX,

Re: [threads] Forced termination

2005-08-26 Thread Tom Pollard
On Thu, 25 Aug 2005, $Bill Luebkert wrote: > >>win32 doesn't have signals and any that are implemented don't actually > >>interrupt the receiving process. I believe they just use simple message > >>passing to fake it - so your mileage may vary. > > > > My point was precisely that "they" have arra

RE: [threads] Forced termination

2005-08-25 Thread John Serink
You sure this works under windows? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Tom Pollard > Sent: Friday, August 26, 2005 2:17 AM > To: ajpeck > Cc: Perl Win32 mail list > Subject: Re: [threads] Forced terminatio

Re: [threads] Forced termination

2005-08-25 Thread $Bill Luebkert
Tom Pollard wrote: > On Thu, 25 Aug 2005, $Bill Luebkert wrote: > >>win32 doesn't have signals and any that are implemented don't actually >>interrupt the receiving process. I believe they just use simple message >>passing to fake it - so your mileage may vary. > > > My point was precisely tha

Re: [threads] Forced termination

2005-08-25 Thread Tom Pollard
On Thu, 25 Aug 2005, $Bill Luebkert wrote: > win32 doesn't have signals and any that are implemented don't actually > interrupt the receiving process. I believe they just use simple message > passing to fake it - so your mileage may vary. My point was precisely that "they" have arranged that this

Re: [threads] Forced termination

2005-08-25 Thread $Bill Luebkert
Tom Pollard wrote: > On Thu, 25 Aug 2005, ajpeck wrote: > >>Is there a way to forcibly terminate a thread after a specified time >>regardless if the thread is finished executing. > > > The standard eval{}-timeout technique apparently works well for threads. &g

Re: [threads] Forced termination

2005-08-25 Thread $Bill Luebkert
Foo Ji-Haw wrote: > I guess Perl's threading is not quite complete as of 5.8.x. But with forking > it is possible to kill a child process? You can certainly do it using Win32::Process, but you may have more trouble passing info to/from - I've never used the simulated fork on Win32. -- ,-/-

Re: [threads] Forced termination

2005-08-25 Thread Tom Pollard
On Thu, 25 Aug 2005, ajpeck wrote: > Is there a way to forcibly terminate a thread after a specified time > regardless if the thread is finished executing. The standard eval{}-timeout technique apparently works well for threads. That is, wrap the code that might hang for 5 min in a

Re: [threads] Forced termination

2005-08-25 Thread Foo Ji-Haw
" Sent: Thursday, August 25, 2005 6:23 PM Subject: Re: [threads] Forced termination ajpeck wrote: Is there a way to forcibly terminate a thread after a specified time regardless if the thread is finished executing. I have threads which call certain network functions that have very long hard c

Re: [threads] Forced termination

2005-08-25 Thread $Bill Luebkert
ajpeck wrote: > I am now trying a process and threads hybrid to get around the problem. > > We can hope that for Perl 6 a function can be added to threads for > immediate termination of child threads and freeing resources immediately > from the parent thread. You may not be a

Re: [threads] Forced termination

2005-08-25 Thread ajpeck
I am now trying a process and threads hybrid to get around the problem. We can hope that for Perl 6 a function can be added to threads for immediate termination of child threads and freeing resources immediately from the parent thread. Alun $Bill Luebkert wrote: ajpeck wrote: Is there

Re: [threads] Forced termination

2005-08-25 Thread $Bill Luebkert
ajpeck wrote: > Is there a way to forcibly terminate a thread after a specified time > regardless if the thread is finished executing. I have threads which > call certain network functions that have very long hard coded timeouts, > such as 5 mins. A no response of 5 secs is suffi

RE: [threads] Forced termination

2005-08-25 Thread John Serink
I do this for connecting to ADAM modules which are running MODBUS servers on port 502. I use threads as the tcp timeouts in Win32 don't work since I have to connect to 27 of these. it takes about about 20 seconds for the thread to timeout and die if the host I'm trying to connect to i

Re: [threads] Forced termination

2005-08-25 Thread ajpeck
s a way to terminate them. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ajpeck Sent: Thursday, August 25, 2005 3:02 PM To: Perl Win32 mail list Subject: [threads] Forced termination Is there a way to forcibly terminate a thread after a spec

RE: [threads] Forced termination

2005-08-25 Thread John Serink
rl Win32 mail list > Subject: [threads] Forced termination > > > Is there a way to forcibly terminate a thread after a specified time > regardless if the thread is finished executing. I have threads which > call certain network functions that have very long hard coded > timeou

[threads] Forced termination

2005-08-25 Thread ajpeck
Is there a way to forcibly terminate a thread after a specified time regardless if the thread is finished executing. I have threads which call certain network functions that have very long hard coded timeouts, such as 5 mins. A no response of 5 secs is sufficient for me to know that there is a

RE: references of sub and params in a threads::shared variable

2005-07-25 Thread John Serink
Yup. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Tuesday, July 26, 2005 6:10 AM > To: Siebe Tolsma > Cc: perl-win32-users@listserv.ActiveState.com > Subject: references of sub and par

references of sub and params in a threads::shared variable

2005-07-25 Thread mailware
how do i use this hash as a shared variable to be used in threads? eg. with threads::shared -Jeremy A > Why not make it a hash? > > my $sub = { ref => \&test, params => [$sockethandle] }; > $sub->{ref}->(@{$sub->{params}}); > > sub test { > my $socket =

RE: activeperl + mysql + threads = crash

2005-07-25 Thread Paul Sobey
> I thought I can hit a nice milestone today, but it seems that > I have hit > a strange obstacle instead. > In my tests, the following code will run, but when it terminates an > error message will be shown. > use strict; > use warnings; > use DBI; > use threads; &g

Re: activeperl + mysql + threads = crash

2005-07-25 Thread Reinhard Pagitsch
--- Begin Message --- Hello, I made an additional test: Using the code below Perl v5.8.7 does not crash. In the Task Manager I can see that Perl uses 3 threads. With the original code he uses only one thread. --- new code -- use strict; use warnings; use DBI; use

Re: activeperl + mysql + threads = crash

2005-07-25 Thread Foo Ji-Haw
with Perl v5.8.7 and had the same prroblem as you, on the 2nd doIt Perl crashes. I also found out that Perl crashes in the DBI.pm sub "disconnect_all". Removing "use threads;" it works. regards, Reinhard Foo Ji-Haw wrote: Hello Reinhard, I am using 5.8.6 of ActivePerl. Tha

Re: activeperl + mysql + threads = crash

2005-07-25 Thread Reinhard Pagitsch
Hello, I tryed it also with Perl v5.8.7 and had the same prroblem as you, on the 2nd doIt Perl crashes. I also found out that Perl crashes in the DBI.pm sub "disconnect_all". Removing "use threads;" it works. regards, Reinhard Foo Ji-Haw wrote: Hello Reinhard,

activeperl + mysql + threads = crash

2005-07-25 Thread Foo Ji-Haw
Hi all, I thought I can hit a nice milestone today, but it seems that I have hit a strange obstacle instead. In my tests, the following code will run, but when it terminates an error message will be shown. use strict; use warnings; use DBI; use threads; doIt(); doIt(); sub doIt { my $dbh

RE: Threads Synchronization

2005-04-13 Thread Paul Sobey
You could try either queues or semaphores: 1) Create a new Thread::Queue and have each thread block waiting to pop something off the queue - create all your threads, then throw as many 1's onto the queue as you need - the threads will all start going within a few processor quantums of each

Re: Threads Synchronization

2005-04-13 Thread Сергей Черниенко
Hello Plymouth, Wednesday, April 13, 2005, 7:26:43 AM, You wrote: PR> My script uses threads module for creation several threads. Each thread prints PR> certain letter for several times via some pause. Kind of letter, number of times, PR> length of pause are different for every thre

Threads Synchronization

2005-04-12 Thread Plymouth Rock
 My script uses threads module for creation several threads. Each thread printscertain letter for several times via some pause. Kind of letter, number of times,length of pause are different for every thread. These threads should be work inparallel. Also, I have to synchronize all starts of

Re[2]:(no subject)Threads

2005-03-04 Thread Сергей Черниенко
Hello John, Friday, March 04, 2005, 10:01:03 AM, You wrote: JS> It doesn't cause any problem JS> But you 'may' want to wait till your threads are done JS> You can either detach or join to do so. JS> Cheers, JS> John In fact I 'want' to wait for s

RE: Threads + Memory Leak??

2005-02-21 Thread John Serink
u may have to do a tiny bit of rewriting to get a work around like that to go.   Cheers, John -Original Message-From: Paul Sobey [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 9:10 PMTo: John Serink; perl-win32-usersSubject: RE: Threads + Memory Leak?? Blimey,

RE: Threads + Memory Leak??

2005-02-21 Thread Paul Sobey
Title: Message Blimey, I stopped counting at 1,000,000!   Will check that bug report you mailed.   Paul   From: John Serink [mailto:[EMAIL PROTECTED] Sent: 21 February 2005 12:03To: Paul Sobey; perl-win32-usersSubject: RE: Threads + Memory Leak?? Its not memory directly that's le

Re: Suspending threads

2005-02-21 Thread $Bill Luebkert
e with > extended thread functionality. > Especially suspend and resume would be of great advantage. > Unfortunately I found a CPAN module (Thread::Suspend) only capable for > Lunix Systems. > > Does anybody have an idea of how to get me out of this mess? You could try using a

RE: Threads + Memory Leak??

2005-02-21 Thread John Serink
e-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul SobeySent: Monday, February 21, 2005 7:51 PMTo: perl-win32-usersSubject: Threads + Memory Leak?? I have a fairly large threaded script which maintains a cache of information between threads using a shared

Threads + Memory Leak??

2005-02-21 Thread Paul Sobey
I have a fairly large threaded script which maintains a cache of information between threads using a shared hash. I'm storing hashrefs in the hash. I've noticed that the memory usage of the script gets absolutely huge (over a gig) after about an hour of information, despite the f

Suspending threads

2005-02-21 Thread Goetz Sebastian MTA
Title: Suspending threads Hallo everyone, First of all I have to mark myself as perl newbie so please be lenient towards me. Now the facts: I am using perl 5.8.0 on a WinXP machine. I have increasing needs for some kind of mechanism that supplies me with extended thread functionality

Array of threads

2005-01-12 Thread knackko
Hello people! I need some help on threads. I did an array @cle. Foreach entries of @cle, i create a thread like this : *for($i=0;$i<@lacle;$i++) #we create one thread by key { $thread[$i] = threads->new(\&WaitRegEvent,$i,$lacle[$i]); } *So i did fantastic stuff in Wa

RE: threads::shared

2004-12-14 Thread Paul Sobey
I wrote this a few months ago because I wanted to make the data from XML::Simple available to multiple threads, and it seems to work ok - at least all my threads can see the recursed structure! You'll need to use a semaphore to control access to the data though, or you'll get into al

AW: threads::shared

2004-12-14 Thread Dietmar Fiehn, Dr.
> All, > > I'm attempting to set the value of a shared variable from > within a thread > and I'm getting a weird error. Can someone tell me what I'm > doing wrong > here? > > ------ > use threads; > use threads::shared; &

threads::shared

2004-12-14 Thread Chris
All, I'm attempting to set the value of a shared variable from within a thread and I'm getting a weird error. Can someone tell me what I'm doing wrong here? ------ use threads; use threads::shared; my %final : shared = (); $final{'foo'}{'ba

RE: Max Number of threads?

2004-11-17 Thread John Serink
ED] On > Behalf Of $Bill Luebkert > Sent: Thursday, November 18, 2004 9:37 AM > To: [EMAIL PROTECTED] > Subject: Re: Max Number of threads? > > > John Serink wrote: > > > Hi All: > > > > Anyone know what the maximum number of threads a Win32 perl app ca

RE: Max Number of threads?

2004-11-17 Thread Jan Dubois
On Wed, 17 Nov 2004, John Serink wrote: > Anyone know what the maximum number of threads a Win32 perl app > can spawn? It is somewhere between 60 and 63. Can't remember the exact number... Cheers, -Jan ___ Perl-Win32-Users mailing

Re: Max Number of threads?

2004-11-17 Thread $Bill Luebkert
John Serink wrote: > Hi All: > > Anyone know what the maximum number of threads a Win32 perl app can > spawn? Too easy - just write a loop and count them yourself. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE Collectibl

Max Number of threads?

2004-11-17 Thread John Serink
Hi All: Anyone know what the maximum number of threads a Win32 perl app can spawn? Cheers, John ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: threads::shared

2004-11-12 Thread $Bill Luebkert
t;{$key}); > } elsif ($ref eq "HASH") { > $copy{$key} = ShareRecurse($orig->{$key}); > } else { > $copy{$key} = $orig->{$key}; > } >

RE: threads::shared

2004-11-12 Thread Paul Sobey
($orig->{$key}); } else { $copy{$key} = $orig->{$key}; } } return \%copy; } } -Original Message- From: $Bill Luebkert [mailto:[EMAIL PROTECTED] Sent: 12 Novembe

Re: threads::shared

2004-11-11 Thread $Bill Luebkert
gt; visible across several threads. > > As an example, consider the following: > > use threads; > use threads::shared; > > > my $TestHash = { > bla => "bla", > wibble => [ "wibble", "wibble" ], > blargh => { > I => &q

threads::shared

2004-11-11 Thread Paul Sobey
I'm using XML::Simple to read in two files, and generate two hashrefs. I want to combine these two into a big hashref, like this:   my $combined = { %{$a}, %{$b} };   This works fine, until I want to share the $combined hash to make it visible across several threads.   As an ex

Re: Perl threads crash perl

2004-07-30 Thread Angelos Karageorgiou
Wl the problem is with the after thread exit clean up code inside the interpreter. If you do not call the $thread->join to clean up and make the number of your threads static and not dynamically created you are fine. Otherwise after a few news and joins things get hairy and

RE: Perl threads crash perl

2004-07-30 Thread Michael Jung
There is a compiled in limit of 100 threads in Win32 - I ran into this a few weeks back. Please see this thread. http://www.perlmonks.org/index.pl?node_id=373409 --mikej > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of John De

Re: Perl threads crash perl

2004-07-30 Thread StoneBeat
El Viernes 30 Julio 2004 15:09, John Deighan escribió: > Seeing as noone else has responded to this, let me simply say that I tried > to develop an application using Perl threads, and in my opinion, Perl > threads are seriously broken. We had to re-write the application without > thre

Re: Perl threads crash perl

2004-07-30 Thread John Deighan
Seeing as noone else has responded to this, let me simply say that I tried to develop an application using Perl threads, and in my opinion, Perl threads are seriously broken. We had to re-write the application without threads. The main problem was that threads would die, but I found no

Perl threads crash perl

2004-07-29 Thread Nadjaf Kuliev
When i tested my IIS vulnerability checker, it works perfecly, but when I added multitasking support, it starts good, bit by bit cpu noise increases then perl crases with unknown error. I didnt use fork(). I used builtin Threads support with async{}. I dont want to make the code public before

Gracefully exiting or returning from threads

2004-04-12 Thread Kiran Sowdi
Hello Folks,   I am having a problem in exiting or returning from perl program.   Please let me know which is the function that should be called to return from the threads in perl.   my program something looks like this:   use threads; .   my $thread_id = threads->create(&qu

Threads in Windows.

2004-03-31 Thread Kiran Sowdi
I have used threads to update a list box in Tk. This is working fine on a linux box but the following error pops up when running on a windows box.   The problem we are facing when creating a thread in Windows, Tk::Error: This perl was built for "ithreads", which currentl

Re: Threads In Perl?

2003-10-23 Thread Jeff Dietz
Scott, There is some thread support in Perl. There was a good article or two a while back in TPJ, but I don't have a link handy. You can also start your investigation at CPAN. There is a Perl threads tutorial at: http://theoryx5.uwinnipeg.ca/CPAN/perl/pod/perlthrtut.html -Jeff Scott Pu

RE: Threads In Perl?

2003-10-23 Thread Peter Eisengrein
Title: RE: Threads In Perl? I believe 5.8 has thread capability (I'm still on 5.6.x). You could probably do the background work without using threads. Take a look at the _Timer method. You can use that to do things (like your file checking) on a regular basis while still allowing the us

Re: Threads In Perl?

2003-10-23 Thread Joe Youngquist
MAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 23, 2003 3:09 PM Subject: Threads In Perl? > > I was wondering if there is any Thread support in Perl? I would like to have my application run, and while the end-user is working in the GUI, I would like to have a background t

Threads In Perl?

2003-10-23 Thread Scott Purcell
I was wondering if there is any Thread support in Perl? I would like to have my application run, and while the end-user is working in the GUI, I would like to have a background thread, or process keeping track of certain files that may be altered while the user is in the app. If there is any i

modules unavailable / threads

2003-07-04 Thread John Deighan
Does anyone know why the following Perl modules are not available via ppm for ActivePerl 5.8? XML-DOM GD GDGraph Crype-SSLeay Also, I'm starting to work with Perl threads. The docs say that I shouldn't use modules that are not thread-safe. Does anyone know how to find out if a

Perl 5.8 threads and sockets problem

2003-02-27 Thread Merrill Cornish
Jer, FYI: On Windows, forks and threads take a similar amount of memory since forks are implemented using the threads mechanism. Merrill ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: threads question

2003-02-24 Thread Hawley, Eric
-Original Message- From: Jonathan Epstein To: Hawley, Eric; '[EMAIL PROTECTED] ' Sent: 2/24/03 10:28 AM Subject: Re: threads question Following up on my own message ... from: http://search.cpan.org/author/BBIRTH/Win32-SerialPort-0.19/lib/Win32/Ser ialPort.pm "Asynchronous

Re: threads question

2003-02-24 Thread Jonathan Epstein
de/help/perl5/doc/Tk/after.html > >Since apparently Tk itself isn't considered to be thread-safe, I wonder whether in >this case you should forget about threads and just use one of these 'after' callback >routines to perform all your serial port processing. > >Good

Re: threads question

2003-02-24 Thread Jonathan Epstein
case you should forget about threads and just use one of these 'after' callback routines to perform all your serial port processing. Good luck ... let us know if you come up with a solution. Another (somewhat inconsistent) suggestion: since most of us can't really run your

RE: following threads via mail headers

2001-12-07 Thread Scot Robnett
: perlwin32 Subject: Re: following threads via mail headers reposted, apparently there was a list problem .. > > hello folks, > > both outlook and netscape messanger (and probably many other mail clients) > have a facility to follow threads, that is, if you send out a mail and >

Re: threads, forks and ithreads ??

2001-05-22 Thread Edward G. Orton
- Original Message - From: "mmollenkopf" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 22, 2001 4:10 PM Subject: threads, forks and ithreads ?? > Greetings all, > > Quick question, Does active perl 5.6.x have any support for threads, &g

threads, forks and ithreads ??

2001-05-22 Thread mmollenkopf
Greetings all, Quick question, Does active perl 5.6.x have any support for threads, ithreads or fork built into the binary downloaded from Activestate? . I have the new Perl Programming book which has a couple of examples, some work (I think) some dont. Sorry to re-hash this question. The

Re: Threads

2001-05-06 Thread Jaime Teng
this though: > >DESCRIPTION >WARNING: Threading is an experimental feature. Both the interface >and implementation are subject to change drastically. In fact, this >documentation describes the flavor of threads that was in version >5.005. Perl 5.6.0 and later have t

Threads

2001-05-05 Thread Rob
the interface and implementation are subject to change drastically. In fact, this documentation describes the flavor of threads that was in version 5.005. Perl 5.6.0 and later have the beginnings of support for interpreter threads, which (when finished) is expected to be

Re: how do you get threads to work in activeperl 5.6?

2001-04-18 Thread Jan Dubois
On Tue, 17 Apr 2001 18:12:41 -0700, Jeremy Aiyadurai <[EMAIL PROTECTED]> wrote: >I'd like to try working with threads, but whenever i try a script, it says >"no threads in this perl". I have activeperl 5.6. >which supports threads. How do i get threads working?

RE: Threads in ASPerl build 623

2001-04-04 Thread Jesse Sookne
ll [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 04, 2001 1:49 PM To: [EMAIL PROTECTED] Subject: RE: Threads in ASPerl build 623 (sorry..) On Wed, 4 Apr 2001, Jesse Sookne wrote: >See message below. This is definitely a FAQ. > >-Jesse > >-Original Message- >From:

RE: Threads in ASPerl build 623

2001-04-04 Thread Campbell
Multithreaded Apps on Win32? > > >In perl 5.6, threads are implemented via the fork() emulation. Read perldoc >perlfork for more info. > >The Thread module was used in previous versions, and is not compatible with >5.6. > ___

RE: Threads in ASPerl build 623

2001-04-04 Thread Jesse Sookne
Title: RE: Threads in ASPerl build 623 See message below.  This is definitely a FAQ. -Jesse -Original Message- From: Jesse Sookne Sent: Thursday, March 29, 2001 11:17 AM To: 'Kirk Rogers'; Perl-Win32-Users2 (E-mail) Subject: RE: Multithreaded Apps on Win32? I

Win32 compile for threads

2001-04-04 Thread Campbell
Once again, hi, I have recompiled my Perl for Ithreads and Multiplicity, as the ActivePerl distribution also, was compiled (correct me). Still I recieve the error on a simple test: No threads in this perl at perly.pl line 4. line 4 is the 'my $thr1 = new Thread \&threadsub;'

RE: How do I use threads

2001-03-05 Thread Jesse Sookne
Oops, non-HTML version follows. -Jesse -Original Message- From: Jesse Sookne Sent: Monday, March 05, 2001 11:29 AM To: 'Peter Guzis'; 'Robert Follis'; '[EMAIL PROTECTED]' Subject: RE: How do I use threads Actually, threads are implemented in ActivePerl

RE: How do I use threads

2001-03-05 Thread Jesse Sookne
Title: RE: How do I use threads Actually, threads are implemented in ActivePerl 5.6, but not with the Threads module, which as far as I know is only for the 5xx builds of ActivePerl. In AP 5.6, you can use threads through the fork() emulation.  Read 'perldoc perlfork' for

RE: How do I use threads

2001-03-05 Thread Peter Guzis
Threads are disabled in AP 5.6 as of yet. If you absolutely need this functionality you'll either need to downgrade to 522, wait for Perl 6, or hope for a 5.x build supporting threads. Peter Guzis Web Administrator, Sr. ENCAD, Inc. email: [EMAIL PROTECTED] www.encad.com -Original Me

Threads and forks

2001-01-29 Thread Flynn, Timothy J
show me that could accomplish this on win 2000? After I had troubles with fork I tried to look for more information on threads in active perl and discovered this webpage: http://velocity.activestate.com/docs/ActivePerl/lib/Pod/perlthrtut.html It states that perl now supports threads and