Click here to Skip to main content
15,887,683 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListView usage Pin
Mohammed F. Salem28-Jul-05 4:26
Mohammed F. Salem28-Jul-05 4:26 
GeneralRe: CListView usage Pin
David Crow28-Jul-05 5:11
David Crow28-Jul-05 5:11 
General,CListView Usage Pin
B.R.Singh28-Jul-05 1:14
B.R.Singh28-Jul-05 1:14 
GeneralLooking for an advice about password authentication Pin
Halawlaws28-Jul-05 1:07
Halawlaws28-Jul-05 1:07 
GeneralRe: Looking for an advice about password authentication Pin
mark novak28-Jul-05 4:45
mark novak28-Jul-05 4:45 
QuestionIs there a #define for Multi-Threading? Pin
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX28-Jul-05 1:02
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX28-Jul-05 1:02 
AnswerRe: Is there a #define for Multi-Threading? Pin
berndg28-Jul-05 2:15
berndg28-Jul-05 2:15 
GeneralRe: Is there a #define for Multi-Threading? Pin
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX28-Jul-05 4:21
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX28-Jul-05 4:21 
berndg wrote:
Since it is your process that actually creates those threads, wouldn't you be the best person to know whether or how many threads are in use?
It seems a bit hard expecting Microsoft to predict your source code.


I want to compile the whole program (my own code + MS code) either in 'single-threaded' or 'multi-threaded' mode. Depending on the threading-mode I want to call different functions. This should be done with macros (what else).
To make it work I need a #define similar to
#define _POSIX_THREADS

Yes, I can #define my own macro, but that's not the point.

What am I missing?
Wink | ;)
GeneralRe: Is there a #define for Multi-Threading? Pin
berndg28-Jul-05 4:27
berndg28-Jul-05 4:27 
AnswerRe: Is there a #define for Multi-Threading? Pin
Blake Miller28-Jul-05 5:09
Blake Miller28-Jul-05 5:09 
GeneralRe: Is there a #define for Multi-Threading? Pin
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX28-Jul-05 5:19
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX28-Jul-05 5:19 
AnswerRe: Is there a #define for Multi-Threading? Pin
Bob Stanneveld28-Jul-05 5:22
Bob Stanneveld28-Jul-05 5:22 
AnswerRe: Is there a #define for Multi-Threading? Pin
Alexander M.,28-Jul-05 8:53
Alexander M.,28-Jul-05 8:53 
QuestionTool to generate API doc spec? Pin
huutribk200128-Jul-05 0:09
huutribk200128-Jul-05 0:09 
AnswerRe: Tool to generate API doc spec? Pin
mark novak28-Jul-05 0:30
mark novak28-Jul-05 0:30 
AnswerRe: Tool to generate API doc spec? Pin
Marc Soleda28-Jul-05 0:30
Marc Soleda28-Jul-05 0:30 
AnswerRe: Tool to generate API doc spec? Pin
Ravi Bhavnani28-Jul-05 1:37
professionalRavi Bhavnani28-Jul-05 1:37 
AnswerRe: Tool to generate API doc spec? Pin
huutribk200128-Jul-05 22:28
huutribk200128-Jul-05 22:28 
Generalc++ Pin
Nishad S28-Jul-05 0:03
Nishad S28-Jul-05 0:03 
GeneralRe: c++ Pin
Mohammed F. Salem28-Jul-05 0:12
Mohammed F. Salem28-Jul-05 0:12 
GeneralRe: c++ Pin
toxcct28-Jul-05 0:39
toxcct28-Jul-05 0:39 
GeneralRe: c++ Pin
Ravi Bhavnani28-Jul-05 1:39
professionalRavi Bhavnani28-Jul-05 1:39 
GeneralRe: c++ Pin
David Crow28-Jul-05 5:16
David Crow28-Jul-05 5:16 
GeneralRe: c++ Pin
Alexander M.,28-Jul-05 9:09
Alexander M.,28-Jul-05 9:09 
GeneralVC Profiler Pin
RChin27-Jul-05 23:58
RChin27-Jul-05 23:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.