#else
-/// get_group() retrieves logical processor information using Windows specific
+/// best_group() retrieves logical processor information using Windows specific
/// API and returns the best group id for the thread with index idx. Original
/// code from Texel by Peter Ă–sterlund.
-int get_group(size_t idx) {
+int best_group(size_t idx) {
int threads = 0;
int nodes = 0;
void bindThisThread(size_t idx) {
// Use only local variables to be thread-safe
- int group = get_group(idx);
+ int group = best_group(idx);
if (group == -1)
return;