Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Dice on January 10, 2016, 05:49:50 am

Title: What does "Number of processes for parallel builds" actually do?
Post by: Dice on January 10, 2016, 05:49:50 am
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.
Title: Re: What does "Number of processes for parallel builds" actually do?
Post by: MortenMacFly 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.
Title: Re: What does "Number of processes for parallel builds" actually do?
Post by: Dice 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.