Use PBD namespace for free CPU functions

Ideally never put methods in the global namespace
to prevent potential conflicts.
This commit is contained in:
Robin Gareus
2025-08-15 22:10:31 +02:00
parent b1d5f065db
commit 5ffc3aa28b
8 changed files with 14 additions and 10 deletions

View File

@@ -342,7 +342,7 @@ WaveViewThreads::start_threads ()
{
assert (!_threads.size());
const int num_cpus = hardware_concurrency ();
const int num_cpus = PBD::hardware_concurrency ();
/* the upper limit of 8 here is entirely arbitrary. It just doesn't
* seem worthwhile having "ncpus" of low priority threads for