Thread overview
Specifying Single or Multi threaded in DMC
Jan 23, 2004
Tristan Ward
Jan 23, 2004
Tristan Ward
Jan 23, 2004
Scott Michel
January 23, 2004
I am a proud new owner of the DMC CD and am currently nutting my way through its use.  I'm using the comandline version rather than the IDDE.  The IDDE is a bit confusing to me.

In VC++ you could specify the use of either single threaded or multithreaded libraries in both debug and release versions.  Is that something you can do in DMC as well or what?

Please excuse me if this is a really dumb question, but hey, I'm new to this ;)

Regards,
Tristan Ward
January 23, 2004
I think I just figured it out my self...

Correct me if I'm wrong;  The multi/single threaded options in the VC++ IDE are in reference to the VC runtime library.

If thats the case then I change my question to: Are there multi threaded and single threaded versions of the DMC runtime library (or is it statically linked only?) as well as debug and release versions...

Cmon, help a pathetic newbie out ;)

Regards,
Tristan Ward

Tristan Ward wrote:
> I am a proud new owner of the DMC CD and am currently nutting my way through its use.  I'm using the comandline version rather than the IDDE.  The IDDE is a bit confusing to me.
> 
> In VC++ you could specify the use of either single threaded or multithreaded libraries in both debug and release versions.  Is that something you can do in DMC as well or what?
> 
> Please excuse me if this is a really dumb question, but hey, I'm new to this ;)
> 
> Regards,
> Tristan Ward
January 23, 2004
Tristan Ward wrote:
> I think I just figured it out my self...
> 
> Correct me if I'm wrong;  The multi/single threaded options in the VC++ IDE are in reference to the VC runtime library.
> 
> If thats the case then I change my question to: Are there multi threaded and single threaded versions of the DMC runtime library (or is it statically linked only?) as well as debug and release versions...
> 
> Cmon, help a pathetic newbie out ;)

RTFMD! DMC's RTL is thread-safe (aka "multithreaded"). There is no "multhreaded" vs. "no thread" RTL. Just static vs. DLL versions.

To be honest, there's not much of a performance penalty to a single thread program unless your program's performance is dominated by making RTL calls.


-scooter