![]() |
CernVM-FS
2.10.0
|
#include <pthread.h>
#include <cassert>
#include <queue>
#include <set>
#include <vector>
#include "atomic.h"
#include "util/async.h"
#include "util/mutex.h"
#include "util/single_copy.h"
#include "util_concurrency_impl.h"
Go to the source code of this file.
Classes | |
class | Lockable |
class | Future< T > |
class | SynchronizingCounter< T > |
class | Observable< ParamT > |
class | Observable< ParamT > |
class | Signal |
class | FifoChannel< T > |
class | ConcurrentWorkers< WorkerT > |
struct | ConcurrentWorkers< WorkerT >::Job< DataT > |
struct | ConcurrentWorkers< WorkerT >::RunBinding |
struct | ConcurrentWorkers< WorkerT >::WorkerRunBinding |
class | ConcurrentWorker< DerivedWorkerT > |
Functions | |
unsigned int | GetNumberOfCpuCores () |
Variables | |
static const unsigned int | kFallbackNumberOfCpus = 1 |
unsigned int GetNumberOfCpuCores | ( | ) |
Returns the number of CPU cores present in the system or a fallback number if it failed to determine the number of CPU cores.
This file is part of the CernVM File System.
Definition at line 16 of file util_concurrency.cc.
Referenced by anonymous_namespace{shrinkwrap.cc}::Params::Complete(), swissknife::CommandMigrate::DoMigrationAndCommit(), IngestionPipeline::IngestionPipeline(), and ScrubbingPipeline::ScrubbingPipeline().
|
static |
Definition at line 319 of file util_concurrency.h.
Referenced by GetNumberOfCpuCores().