bobef Wrote:

> Unhandled Exception: EXCEPTION_ACCESS_VIOLATION(0xc0000005) at gcx.Gcx.mark 
> (0x00464194) thread(1652)
> ->us
> #0 void gcx.Gcx.mark(void*, void*, void*) () from gcx
> 
> Any idea what this is? I'm using some revision of Tango between 0.99.7 and 
> 0.99.8 with dmd 1.035.
> 
> Thanks!
> 

Is this scenario possible ->

Thread 1 is inside a C function call.
Thread 2 causes the garbage collector to try suspend all threads.
Thread 1 messes up because it is still inside the C function and GC is trying 
to suspend/mark/else stuff, so I get a crash ?

If so, how can I guarantee GC will not be triggered while C function is 
executing?

Thanks!

Reply via email to