mirror of
https://github.com/mmueller41/mxtasking.git
synced 2026-01-21 12:42:57 +01:00
14 lines
303 B
C++
14 lines
303 B
C++
#include "environment.h"
|
|
#include <mx/util/core_set.h>
|
|
|
|
using namespace mx::system;
|
|
|
|
void Environment::set_cores(mx::util::core_set *core_set)
|
|
{
|
|
system::Environment::get_instance()._coreset = core_set;
|
|
}
|
|
|
|
mx::util::core_set &Environment::cores()
|
|
{
|
|
return *Environment::get_instance()._coreset;
|
|
} |