Multi-threading C++ compiler wrappers

Post Reply
Tracer
Posts: 6
Joined: Thu Apr 18, 2019 5:03 pm

Multi-threading C++ compiler wrappers

Post by Tracer » Thu Apr 18, 2019 5:46 pm

Hello!

After I closed C++ Builder (10.3.1) I noticed that I cannot delete the test project (entire folder) I used to benchmark TwinCompile (it was still in use). Then I opened Task Manager and noticed 16 "Multi-threading C++ compiler wrapper. (32 bit)" processes. I suppose it is because I have 16 core CPU. But still, I would expect these processes to end after I exit C++ Builder. Only after I manually ended those processes I was able to delete the folder.

A bug?

Tracer
Posts: 6
Joined: Thu Apr 18, 2019 5:03 pm

Re: Multi-threading C++ compiler wrappers

Post by Tracer » Thu Apr 18, 2019 6:29 pm

I just noticed the option "close executors when exiting IDE" that solves this problem. Why is this not set to true by default?

jomitech
Site Admin
Posts: 1964
Joined: Wed Oct 08, 2008 12:23 am

Re: Multi-threading C++ compiler wrappers

Post by jomitech » Thu Apr 18, 2019 8:14 pm

By leaving them open, the in-memory cache is preserved, so that the compiler does not have to go back to the disk to pull the unchanged files, but can get them from memory.
Jon

Post Reply