Re: A PPM for Kinosearch?

2006-05-04 Thread Marvin Humphrey
Hi folks, I've just uploaded KinoSearch 0.10 to CPAN. This version should be fully Windows compatible. Big ups to Randy Kobes for rerunning the test suite for me until everything passed. Marvin Humphrey Rectangular Research http://www.rectangular.com/ ___

Re: Intresting Logic Problem

2006-05-04 Thread $Bill Luebkert
Daniel Rychlik wrote: > Is there a way to do a thread timeout? If a thread doesn't respond within so > many seconds, then run this function? Is there a way to kill a thread ? If so, I don't see why you can't poll time in the main thread and kill a stalled thread if it exceeds time. Haven't lo

RE: Intresting Logic Problem

2006-05-04 Thread Daniel Rychlik
Is there a way to do a thread timeout? If a thread doesn't respond within so many seconds, then run this function? Oh great an powerful PERL Oz I have just discovered a serious issue within the core architecture of this beast of a program that I have written using threads...  I am using T

Re: Time::HiRes on XP (Win32)

2006-05-04 Thread Petr Vileta
Zoly wrote: Hi Folks, In my short primitive code I used 'Time::HiRes' that worked for me pretty good on my old P4-2.4GHz machine with XP-pro for long. Sample: (Line 3)-> use Time::HiRes qw(usleep ualarm gettimeofday tv_interval); I had to replace my PC and the platform now is a 'AMD-Athlon

Intresting Logic Problem

2006-05-04 Thread Daniel Rychlik
Oh great an powerful PERL Oz   I have just discovered a serious issue within the core architecture of this beast of a program that I have written using threads…    I am using Thread::Queue to throttle resources from the jobs that have to be done at any given time.    This program, c

Intresting Logic Problem

2006-05-04 Thread Daniel Rychlik
Copying ithreads group as well.   From: Daniel Rychlik Sent: Thursday, May 04, 2006 5:33 PM To: activeperl@listserv.ActiveState.com Subject: Intresting Logic Problem   Oh great an powerful PERL Oz   I have just discovered a serious issue within the core architecture of this

RE: Time::HiRes on XP (Win32)

2006-05-04 Thread Jan Dubois
On Thu, 04 May 2006, [EMAIL PROTECTED] wrote: > Quoting Zoly <[EMAIL PROTECTED]>: > > > I had to replace my PC and the platform now is a 'AMD-Athlon 64 X2 > > Dual Core 3800+' that made my applications "flying" compared to the > > earlier one, but there is a problem, my code exits with this error >

Re: Re: Time::HiRes on XP (Win32)

2006-05-04 Thread Zoly
Zoly wrote: Hi Folks, In my short primitive code I used 'Time::HiRes' that worked for me pretty good on my old P4-2.4GHz machine with XP-pro for long. Sample: (Line 3)-> use Time::HiRes qw(usleep ualarm gettimeofday tv_interval); I had to replace my PC and the platform now is a 'AMD-Athlon 64

Re: Time::HiRes on XP (Win32)

2006-05-04 Thread pmalcher
Quoting Zoly <[EMAIL PROTECTED]>: I had to replace my PC and the platform now is a 'AMD-Athlon 64 X2 Dual Core 3800+' that made my applications "flying" compared to the earlier one, but there is a problem, my code exits with this error message below. Time::HiRes::ualarm(): uni

RE: Time::HiRes on XP (Win32)

2006-05-04 Thread Jan Dubois
Zoly wrote: > > Hi Folks, > > In my short primitive code I used 'Time::HiRes' that worked for me > pretty good on my old P4-2.4GHz machine with XP-pro for long. Sample: > (Line 3)-> use Time::HiRes qw(usleep ualarm gettimeofday > tv_interval); > > I had to replace my PC and the platform now is

Time::HiRes on XP (Win32)

2006-05-04 Thread Zoly
Hi Folks,In my short primitive code I used 'Time::HiRes' that worked for me pretty good on my old P4-2.4GHz machine with XP-pro for long.Sample:(Line 3)-> use Time::HiRes qw(usleep ualarm gettimeofday tv_interval);I had to replace my PC and the platform now is a 'AMD-Athlon 64 X2 Dual Co

Re: IO::Socket and Setting Timeout

2006-05-04 Thread $Bill Luebkert
Brian Raven wrote: > > I don't think I was suggesting that Perl's alarm function works > identically on Win32 and Unix, that certainly wasn't my intention. My > main points were that the alarm function does exist on Win32 Perl, and And my point was that it probably won't work on Win32. Pointing

RE: IO::Socket and Setting Timeout

2006-05-04 Thread Brian Raven
$Bill Luebkert <> wrote: > Brian Raven wrote: > >> $Bill Luebkert <> wrote: >> >>> There is no alarm function on Win32, so if you're on UNIX you'll be >>> fine. IO::Socket used to use alarm and was modified to use select >>> for that reason. >> >> Not quite. The alarm function has been made to

Re: IO::Socket and Setting Timeout

2006-05-04 Thread $Bill Luebkert
Brian Raven wrote: > $Bill Luebkert <> wrote: > >>There is no alarm function on Win32, so if you're on UNIX you'll be >>fine. IO::Socket used to use alarm and was modified to use select >>for that reason. > > Not quite. The alarm function has been made to work on Win32 (I don't > know how, bu

RE: IO::Socket and Setting Timeout

2006-05-04 Thread Brian Raven
$Bill Luebkert <> wrote: > Daniel Rychlik wrote: > >> Thanks, >> >> I will try this out. I hope it works in a multithreaded >> environment... > > There is no alarm function on Win32, so if you're on UNIX you'll be > fine. IO::Socket used to use alarm and was modified to use select > for that