acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
pool.h
1
#pragma once
2
3
4
//#include "acme/prototype/prototype/object.h"
5
6
7
class
CLASS_DECL_ACME task_pool :
8
virtual
public
object
9
{
10
protected
:
11
12
13
::pointer<::task>& task(const ::atom &
atom
) {
return
m_map[
atom
]; }
14
15
16
public
:
17
18
19
atom_map_base < ::pointer<::task >> m_map;
20
21
22
task_pool();
23
~task_pool()
override
;
24
25
26
virtual ::pointer<::task>defer_branch(const ::atom&
atom
, const ::procedure & procedure);
27
28
29
virtual
void
set_timer(enum_timer etimer,
const
class
time
&
time
);
30
virtual
void
_timer_task(enum_timer etimer,
const
class
time
&
time
);
31
virtual
void
operator()(enum_timer etimer);
32
33
34
35
};
36
37
38
atom
Definition
atom.h:237
time
Definition
aaa_time.h:13
parallelization
pool.h
Generated by
1.17.0