Thread safety for D libraries

Christof christof.ecker at
Fri May 2 05:45:11 PDT 2008


I wrote an extension for python in d using celerid. While the library works nicely without threads, I get memory exceptions when I try to use it with python threads. 

I know that D is generally thread save. I wonder if it is possibly not thread save, when the main program is not written in D. Maybe the garbage collector has to be run from the main thread, ...

Thanks for any comments and ideas,


More information about the Digitalmars-d-learn mailing list