C++ static libs vs DLL's . The basics.. I thought?

Started by
9 comments, last by Eazz 21 years, 2 months ago
quote:Original post by antareus
They have multi-threaded DLL versions but no single threaded DLL versions.

sorry, i missed the "dll" part. yes, there is no such thing as a single-threaded dll, so you''ll need to use multithreaded dll.
quote:
Switch to multi-threaded DLL version and just stay in one thread the whole time?

the c runtime doesn''t create any threads for itself. "multithreaded" in the c runtime just means that it''s thread-safe, that is, if a function in the c runtime is called from two or more threads simultaneously, nothing bad will happen. "singlethreaded" runtime provides no such guarantee. using multithreaded dll won''t create any new threads in your application unless you request so.

This topic is closed to new replies.

Advertisement