-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
49 lines (28 loc) · 893 Bytes
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
*) implements make install for
<prefix>/include/ew
<prefix>/lib/*.so
<prefix>/bin/*.exe
<prefix>/share/ew/*
needed by 3rd parties
*) implement event watcher
fd/handle events
timer events
event->direction = input|output
expected api
class ew::core::events::watcher {
watcher()
~watcher()
run(timeout);
add(file * | connection * | msg_queue *, input_ready|output_ready);
remove(file * | connection * | msg_queue *, input_ready|output_ready);
add(timer *);
remove(timer *);
size_t wait_4_events(size_t timeout_ms, std::vector<events *> & evs);
size_t next_timeout_expiration() const;
remove(file * | connection * | msg_queue *, input_ready|output_ready);
};
timer->timeout(...);
*) implement timers
*) build static libraries along dynamic ones
*) replace custom thread/mutex by std:: ones
*) use Egl instread of glx/wgl/...