in reply to Unsticking a thread

Without sight of the whole program, this is impossible to answer. Any speculations would be, exactly that: speculation.

Along with posting your script (preferably cut down to the minimum that demonstrates the error), you will also need to give a few details of your environment.

  1. Which version of perl?
  2. What OS/version?
  3. What dependancies/versions?

A few preemptive strikes are possible.

I'll try to be more helpful once you supply some more information.

For the record, the iThreads API does not provide for any mechanism for killing threads. It is possible, with caveats, to do this under Win32.

I am not aware of a mechanism for doing under other OSs, though that's isn't saying much, as I am very unfamiliar with other OSs :)


Examine what is said, not who speaks.        The end of an era!
"But you should never overestimate the ingenuity of the sceptics to come up with a counter-argument." -Myles Allen
"Think for yourself!" - Abigail        "Time is a poor substitute for thought"--theorbtwo         "Efficiency is intelligent laziness." -David Dunham
"Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon

Replies are listed 'Best First'.
Re^2: Unsticking a thread
by chrism01 (Friar) on Dec 10, 2004 at 05:47 UTC
    Thx for the fast response.
    Here are some answers to your request:

    perl -v

    This is perl, v5.8.5 built for i386-linux-thread-multi

    uname -a

    Linux 2.6.9-1.681_FC3smp #1 SMP Thu Nov 18 15:19:10 EST 2004 i686 i686 i386 GNU/Linux

    Radiator is v3.9

    I'm sharing some scalars and hashes, but no Perl 'objects'.
    I'll try to provide a cut down version if possible (actual is 5113 lines), but I'm not sure how repeatable it is ...
    HTH
    Chris