acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
synchronized_process.h
1
#pragma once
2
3
4
//class sync_future;
5
//
6
//
7
//inline ::pointer<sync_future>__sync_future();
8
//
9
//
10
//
11
//class CLASS_DECL_ACME sync_future :
12
// virtual public ::synchronization//{
13
//protected:
14
//
15
// friend ::pointer<sync_future>__sync_future();
16
//
17
// sync_future()
18
// {
19
//
20
// m_phappeningCompletion = allocateø manual_reset_happening();
21
//
22
// }
23
//public:
24
//
25
//
26
// ::payload m_var;
27
// ::pointer<manual_reset_happening> m_phappeningCompletion;
28
//
29
//
30
// virtual ~sync_future() {}
31
//
32
//
33
// void operator()(const ::payload & payload) override
34
// {
35
//
36
// m_var = payload;
37
//
38
// m_phappeningCompletion->set_happening();
39
//
40
// }
41
//
42
//
43
// ::e_status wait(const class ::time& wait = time::infinite()) override
44
// {
45
//
46
// return m_phappeningCompletion->wait(wait);
47
//
48
// }
49
//
50
//
51
//};
52
//
53
//
54
//inline ::pointer<sync_future>__sync_future()
55
//{
56
//
57
// return allocateø sync_future();
58
//
59
//}
60
//
61
//
62
//
parallelization
synchronized_process.h
Generated by
1.17.0