Threading troubles

sky on 2001-09-04T08:03:03

Perldate #11854

I am having random troubles with threading on random platforms. It works well on single CPU machines. It fails badly on multiple CPU machines. Now this is usually the case with multithreaded programs. Now you have to identify the assumptions in your code that might break things. This is relativly easy when you have written code yourself, but next to impossible if you haven't. And debuggin threaded applications is not trivial, since if you slow it down with debugging information, you usually end up with something running correctly. Remeber, god is involved in how your threads are scheduled :)

What is left to do now is.

  1. Sharedsv is broken
  2. perlio is not threadsafe
  3. I believe there is a bug in the cloning of anonymous uncloned subroutines
So now I have to fix that. Lets move on!

sky