in reply to panic: regfree data code 'ð' during global destruction. error when joining threads
Without seeing your code, when you get into refcount problems with threads, it's best to reuse your threads. If you try to create threads, with create/join cycles, and an object isn't threadsafe, the object may hang around in memory and bite you later. The best approach, is to reuse threads by cleaning out the temp data from it's objects, and filling them with fresh data for the objects. You only need to join the threads when you exit the program.
I know this sounds like a hassle, but it works reliably.... reuse your threads.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: panic: regfree data code 'ð' during global destruction. error when joining threads
by Anonymous Monk on Jun 11, 2008 at 14:39 UTC | |
by zentara (Cardinal) on Jun 11, 2008 at 16:59 UTC | |
by somekindafreak (Acolyte) on Jun 11, 2008 at 23:59 UTC | |
by zentara (Cardinal) on Jun 12, 2008 at 13:42 UTC |