hwloc_components_mutex 41 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c static LONG hwloc_components_mutex = 0; hwloc_components_mutex 43 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c while (InterlockedCompareExchange(&hwloc_components_mutex, 1, 0) != 0) \ hwloc_components_mutex 47 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c assert(hwloc_components_mutex == 1); \ hwloc_components_mutex 48 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c hwloc_components_mutex = 0; \ hwloc_components_mutex 54 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c static pthread_mutex_t hwloc_components_mutex = PTHREAD_MUTEX_INITIALIZER; hwloc_components_mutex 55 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c #define HWLOC_COMPONENTS_LOCK() pthread_mutex_lock(&hwloc_components_mutex) hwloc_components_mutex 56 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c #define HWLOC_COMPONENTS_UNLOCK() pthread_mutex_unlock(&hwloc_components_mutex)