in reply to Re^4: Running a threaded Tk script on Windows
in thread Running a threaded Tk script on Windows

  • Don't load stuff, particularly stuff with XS elements, prior to creating threads that do not use that stuff. Specifically, loading (useing) Tk; means that pats of it will be loaded into multiple threads regardless that it is not used in them all. Thins is a recipe for problems.
  • Don't port code, especially threaded code) to Windows ME first. Use NT/2K/XP and then backport to ME (if all your attempts to avoid doing so fail).

    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.
    • Comment on Re^5: Running a threaded Tk script on Windows
  • Replies are listed 'Best First'.
    Re^6: Running a threaded Tk script on Windows
    by zentara (Cardinal) on Sep 17, 2005 at 09:09 UTC
      Don't load stuff, particularly stuff with XS elements

      Well to trace down the problem, I stripped out all Tk code, and the problem is in the creation of the shared variables. I will post another question with a minimal example, using no XS.

      Don't port code, especially threaded code) to Windows ME first. Use NT/2K/XP

      Well, Me is all I have, and I simply refuse to feed the "beast from Redmond" anymore.


      I'm not really a human, but I play one on earth. flash japh