RE: Intresting Logic Problem

2006-05-05 Thread Daniel Rychlik
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

RE: Intresting Logic Problem

2006-05-05 Thread Daniel Rychlik
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

RE: Intresting Logic Problem

2006-05-05 Thread Jerry D. Hedden
> 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 $

RE: Intresting Logic Problem

2006-05-05 Thread Jerry D. Hedden
> 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".

RE: Intresting Logic Problem

2006-05-05 Thread Jerry D. Hedden
Daniel Rychlik asked: > And how come a thread just doesn't DIE? You have to either ->join() or ->detach your threads.

RE: Intresting Logic Problem

2006-05-05 Thread Daniel Rychlik
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

RE: Intresting Logic Problem

2006-05-05 Thread Jerry D. Hedden
> 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

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

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: [email protected] Subject: Intresting Logic Problem Oh great an powerful PERL Oz I have just discovered a serious issue within the core