t just die My thread count keeps going up...
Ive tried playing with Thread::Exit but that joker doesn't do what I
expected it to do...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel
Rychlik
Sent: Friday, May 05, 2006 8:50 AM
To: Je
riginal Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel
Rychlik
Sent: Friday, May 05, 2006 8:50 AM
To: Jerry D. Hedden
Cc: [email protected]; [email protected]
Subject: RE: Intresting Logic Problem
Thanks Jerry and Bill for the input...
So
> I
> am wandering if maybe I need to do something different here with the
> variable name and have each thread have its own thread ID... So instead
> of just simply calling $thr, maybe I could parse out the first 5 digits
> of the file and use that as a new thread...
Thread IDs (obtained via $
> When I use Thread::Exit
>
> I get this error message
>
> Attempt to free non-existent shared string 'D^CSOH', Perl interpreter:
> 0x5f69604 during global destruction. Free to wrong pool 5f64de0 during
> global destruction...
>
> The instruction at "0x28085c14" shared memory at "0x0".
Daniel Rychlik asked:
> And how come a thread just doesn't DIE?
You have to either ->join() or ->detach your threads.
ychlik
Cc: [email protected]; [email protected]
Subject: RE: Intresting Logic Problem
> 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 t
> 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, collects information from a database
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
Copying ithreads group as well.
From: Daniel Rychlik
Sent: Thursday, May 04, 2006 5:33 PM
To: [email protected]
Subject: Intresting Logic Problem
Oh great an powerful PERL Oz
I have just discovered a serious issue within the core