Thread safety for D libraries

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


Hi,

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,

Christof


More information about the Digitalmars-d-learn mailing list