• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Plantuml source file (for later edit)
2// Style
3
4skinparam backgroundColor #FFFFFF
5
6skinparam sequence {
7    ActorBorderColor DeepSkyBlue
8    ArrowColor #4a6484
9
10    LifeLineBorderColor #4a6484
11    ParticipantBackgroundColor  #91c6ff
12    ParticipantBorderColor black
13    BoxBorderColor black
14}
15
16
17//posix no error
18/**
19\plantuml
20activate Father
21
22box "Child Process" #LightGrey
23    participant Child
24    participant Exe
25end box
26
27Father->Father : on_setup
28activate Father
29deactivate Father
30Father->Child : fork
31activate Child
32Father -> Father : wait for error
33deactivate Father
34
35
36Child->Child : on_exec_setup
37activate Child
38deactivate Child
39Child->Exe : execve
40deactivate Child
41activate Father
42activate Exe
43
44Father -> Father : on_success
45activate Father
46deactivate Father
47
48\endplantuml */
49
50//posix exec error
51/**
52\plantuml
53activate Father
54
55Father->Father : on_setup
56activate Father
57deactivate Father
58Father->Child : fork
59activate Child
60Father -> Father : wait for error
61deactivate Father
62
63Child->Child : on_exec_setup
64activate Child
65deactivate Child
66Child->Child : execve
67Child->Child : on_exec_error
68activate Child
69deactivate Child
70Child->Father : report
71deactivate Child
72activate Father
73Father -> Father : on_error
74activate Father
75deactivate Father
76\endplantuml
77
78//posix fork error
79\plantuml
80activate Father
81
82Father->Father : on_setup
83activate Father
84deactivate Father
85Father->Father : fork
86Father -> Father : on_fork_error
87activate Father
88deactivate Father
89Father -> Father : on_error
90activate Father
91deactivate Father
92\endplantuml
93
94
95//windows.
96\plantuml
97activate Father
98
99Father->Father : on_setup
100activate Father
101deactivate Father
102Father->Child : CreateProcess
103activate Child
104
105alt Successful Launch
106
107Father -> Father : on_success
108activate Father
109deactivate Father
110
111else Error during launch
112
113Father -> Father : on_error
114activate Father
115deactivate Father
116
117end
118\endplantuml
119