digitalmars.D.learn - pthread and GC
I am using pthread somewhere in program, and it creates an object. After a while, I see "core.thread.scanAllTypeImpl" error on gdb. Does this mean that pthread and GC are incompatible? Any solution without making too much code changes?
May 13 2015
On Wednesday, 13 May 2015 at 07:04:39 UTC, tcak wrote:I am using pthread somewhere in program, and it creates an object. After a while, I see "core.thread.scanAllTypeImpl" error on gdb. Does this mean that pthread and GC are incompatible? Any solution without making too much code changes?help?
May 13 2015
On Wednesday, 13 May 2015 at 07:29:51 UTC, Dicebot wrote:On Wednesday, 13 May 2015 at 07:04:39 UTC, tcak wrote:That scanAllTypeImpl problem was solved, but then unexpected stoppages have started. Undefined behaviours are available maybe. I needed to turn to Thread class again.I am using pthread somewhere in program, and it creates an object. After a while, I see "core.thread.scanAllTypeImpl" error on gdb. Does this mean that pthread and GC are incompatible? Any solution without making too much code changes?Does help?
May 13 2015