Sounds like you have a bad bug in your program. You might want to look at the later nodes in
Threads memory consumption is infinite where the topic of reusing threads is discussed. I'm just guessing, because you only give a brief description of your code; but what is probably happening, is that during all those object additions to the threads, something is getting crosslinked, and won't get freed up due to the refcount problem ( search for refcount for the gory details).
Then when you try to join a properly terminated thread(it must return before being joined), there is a thread safety problem.
The warning is harmless, and if your code runs fine, you just might want to let it go, or think about your design for object-thread interaction. The one thing to watch for is an unusual memory gain while running the program. That "data code o" is laying around wasting memory and causing a thread safety problem.
You said in your original node "This system has dozens of objects, each which may need to reference data from other objects. . This is probably the source of your threading bug. Many better minds than mine have tried to solve the refcount dilemma, and no success yet. I hope Perl6 has some better magic in this regard.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.