add Concurrency & Parallelisim
This commit is contained in:
parent
a2c6604816
commit
e30c0bd8d0
@ -16,7 +16,9 @@ target_sources(nf7_iface
|
||||
common/task.hh
|
||||
common/value.hh
|
||||
data/interface.hh
|
||||
subsys/concurrency.hh
|
||||
subsys/interface.hh
|
||||
subsys/parallelism.hh
|
||||
env.hh
|
||||
file.hh
|
||||
lambda.hh
|
||||
|
17
iface/subsys/concurrency.hh
Normal file
17
iface/subsys/concurrency.hh
Normal file
@ -0,0 +1,17 @@
|
||||
// No copyright
|
||||
#pragma once
|
||||
|
||||
#include "iface/common/task.hh"
|
||||
#include "iface/subsys/interface.hh"
|
||||
|
||||
|
||||
namespace nf7::subsys {
|
||||
|
||||
class Concurrency : public Interface, public TaskQueue {
|
||||
public:
|
||||
using Interface::Interface;
|
||||
};
|
||||
|
||||
using WrappedConcurrency = WrappedTaskQueue<Concurrency>;
|
||||
|
||||
} // namespace nf7::subsys
|
17
iface/subsys/parallelism.hh
Normal file
17
iface/subsys/parallelism.hh
Normal file
@ -0,0 +1,17 @@
|
||||
// No copyright
|
||||
#pragma once
|
||||
|
||||
#include "iface/common/task.hh"
|
||||
#include "iface/subsys/interface.hh"
|
||||
|
||||
|
||||
namespace nf7::subsys {
|
||||
|
||||
class Parallelism : public Interface, public TaskQueue {
|
||||
public:
|
||||
using Interface::Interface;
|
||||
};
|
||||
|
||||
using WrappedParallelism = WrappedTaskQueue<Parallelism>;
|
||||
|
||||
} // namespace nf7::subsys
|
Loading…
x
Reference in New Issue
Block a user