www.digitalmars.com         C & C++   DMDScript  

D - A couple of questions involving multi-threading

reply "Steve Adams" <adamss ascinet.com> writes:
Can D be used to create a DLL that is called by C programs?

Is Phobos thread-safe?  In particular, if D is used to create a DLL
that is called by a multi-threaded application, will there be problems
with the runtime library?

Thanks.
Jun 18 2003
parent reply "Walter" <walter digitalmars.com> writes:
"Steve Adams" <adamss ascinet.com> wrote in message
news:bcpsno$l49$1 digitaldaemon.com...
 Can D be used to create a DLL that is called by C programs?

Yes.
 Is Phobos thread-safe?  In particular, if D is used to create a DLL
 that is called by a multi-threaded application, will there be problems
 with the runtime library?

It's thread-safe.
Jun 18 2003
parent "Steve Adams" <adamss ascinet.com> writes:
Great, thanks.


"Walter" <walter digitalmars.com> wrote in message
news:bcrl12$28gh$1 digitaldaemon.com...
 "Steve Adams" <adamss ascinet.com> wrote in message
 news:bcpsno$l49$1 digitaldaemon.com...
 Can D be used to create a DLL that is called by C programs?

Yes.
 Is Phobos thread-safe?  In particular, if D is used to create a DLL
 that is called by a multi-threaded application, will there be problems
 with the runtime library?

It's thread-safe.

Jun 19 2003