pthread and GC

tcak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed May 13 01:14:52 PDT 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:
>> 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 
> http://dlang.org/phobos/core_thread.html#.thread_attachThis 
> help?

That scanAllTypeImpl problem was solved, but then unexpected 
stoppages have started. Undefined behaviours are available maybe. 
I needed to turn to Thread class again.


More information about the Digitalmars-d-learn mailing list