Author Topic: What does "Number of processes for parallel builds" actually do?  (Read 3596 times)

Offline Dice

  • Multiple posting newcomer
  • *
  • Posts: 14
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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: What does "Number of processes for parallel builds" actually do?
« Reply #1 on: January 10, 2016, 10:39:09 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Dice

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: What does "Number of processes for parallel builds" actually do?
« Reply #2 on: January 10, 2016, 10:59:19 am »

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.