shl...@13c2ddb8-3aa7-4284-800b-8db07c650eef  committed 2d94668

Add the bad elements threads coverage.

  • Participants
  • Parent commits be8c8bf

Comments (0)

Files changed (1)

File src/tutorials/bad-elements/index.html.wml

+<item id="threads" h="Using threads in Perl">
+Some beginners, when thinking they need to multitask their programs start
+thinking they should use perl threads. However, as mentioned in 
+<pdoc d="perlthrtut">perlthrtut</pdoc>, perl threads are very much unlike
+the traditional thread modules, share nothing by default and are in fact
+heavyweight processes (instead of the usual lightweight ones). See also
+<a href="">Elizabeth Mattijsen
+writeup about perl's ithreads on perlmonks</a>.
+To sum up, usually threads are the wrong answer and you should be using
+forking processes or something like POE (see our 
+<a href="$(ROOT)/uses/multitasking/">page about multitasking</a>) instead.
 #include "bad-elements-sources.wml"