about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-07-20 12:09:46 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2023-07-31 16:20:18 +1000
commit5bef04ed38ee916451d31cce4e4000a5b3c20f22 (patch)
treec2952042e1ef58d338bd41421647b898fb690242 /compiler/rustc_codegen_llvm/src
parentfd017d3c170796790755441dbb95020b13fd5549 (diff)
downloadrust-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