www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Thread safety for D libraries


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,

May 02 2008