diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-07-20 12:09:46 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-07-31 16:20:18 +1000 |
| commit | 5bef04ed38ee916451d31cce4e4000a5b3c20f22 (patch) | |
| tree | c2952042e1ef58d338bd41421647b898fb690242 /compiler/rustc_codegen_llvm/src | |
| parent | fd017d3c170796790755441dbb95020b13fd5549 (diff) | |
| download | rust-5bef04ed38ee916451d31cce4e4000a5b3c20f22.tar.gz rust-5bef04ed38ee916451d31cce4e4000a5b3c20f22.zip | |
Rename things related to the main thread's operations.
It took me some time to understand how the main thread can lend a jobserver token to an LLVM thread. This commit renames a couple of things to make it clearer. - Rename the `LLVMing` variant as `Lending`, because that is a clearer description of what is happening. - Rename `running` as `running_with_own_token`, which makes it clearer that there might be one additional LLVM thread running (with a loaned token). Also add a comment to its definition.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
