News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

What does "Number of processes for parallel builds" actually do?

Started by Dice, January 10, 2016, 05:49:50 AM

Previous topic - Next topic

Dice

If you go to Settings--> Compiler --> Build Options then you'll see the first field called "Number of processes for parallel builds:".  If I write a multi-threaded program but leave "Number of processes for parallel builds" set = 1, will my program still be single threaded?  What does "Number of processes for parallel builds" actually do?  I'm still new to multi-threading so thank you for your time and patience.

MortenMacFly

Quote from: Dice on January 10, 2016, 05:49:50 AM
I'm still new to multi-threading so thank you for your time and patience.
It has nothing to do with your application. It basically means that the process steps to produce your executable (compiling, linking) will be paralleled whenever possible. For example: Compiling source code to object files can be paralleled as it is independent from each other.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Dice


It has nothing to do with your application. It basically means that the process steps to produce your executable (compiling, linking) will be paralleled whenever possible. For example: Compiling source code to object files can be paralleled as it is independent from each other.
[/quote]


Excellent, thanks for the reply.