![]() |
CernVM-FS
2.12.0
|
#include <pthread.h>
#include <cassert>
#include <queue>
#include <set>
#include <vector>
#include "util/async.h"
#include "util/atomic.h"
#include "util/export.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 | Channel< ItemT > |
class | Lockable |
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 | |
CVMFS_EXPORT unsigned int | GetNumberOfCpuCores () |
Variables | |
static const unsigned int | kFallbackNumberOfCpus = 1 |
CVMFS_EXPORT 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 18 of file concurrency.cc.
Referenced by anonymous_namespace{shrinkwrap.cc}::Params::Complete(), swissknife::CommandMigrate::DoMigrationAndCommit(), IngestionPipeline::IngestionPipeline(), and ScrubbingPipeline::ScrubbingPipeline().
|
static |
Definition at line 353 of file concurrency.h.
Referenced by GetNumberOfCpuCores().