in reply to Re: How to pass a module method by reference to Thread?
in thread How to pass a module method by reference to Thread?

This may be all very correct, but please note the questioner is using 'Thread' and not 'threads', which means the 5.005 threads, and not ithreads, which is a different kettle of fish entirely, AND shares ALL variables per default between the threads!

Looking at my own 5.005 Threads code, I seem to be using/sharing objects fine between threads there.. So thats one advantage of still using the old threads :)

C.

  • Comment on Re: Re: How to pass a module method by reference to Thread?

Replies are listed 'Best First'.
Re: Re: Re: How to pass a module method by reference to Thread?
by BrowserUk (Patriarch) on Jun 22, 2003 at 07:48 UTC

    How right you are++. I completely missed that minor point.

    I'm so caught up trying to get my own stuff going with ithreads, and this looked so like one of my own early flounderings with them, that I responded to completely the wrong question. :(


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller