aboutsummaryrefslogblamecommitdiffstats
path: root/bootstrap/lib/stdlib/ebin/supervisor.beam
blob: 3f4952a42f3ebcbc067efb5e24614fcde5f8a3cc (plain) (tree)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
                        
































































































































































































































































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                      
FOR16�BEAMAtom5�
supervisorbehaviour_info	callbacks	undefined
start_linkself
gen_serverstart_child
restart_childdelete_childterminate_childwhich_childrencallinfinitycheck_childspecsokerrorbadarginittrue	trap_exiterlangprocess_flagstatesimple_one_for_onesupervisor_datastopignore
bad_return
init_children
setelement
start_specinit_dynamicbad_start_specstart_childrenchildstart_errorlistsreverse++do_start_childapplydo_start_child_ihandle_callhddictstorereplyvalueto_listmaphandle_castnullerror_logger	error_msgnoreplyhandle_infoEXITshutdown	terminatecode_changecheck_flags	bad_flagsupdate_childspecupdate_childspec1falseupdate_chsphandle_start_childalready_startedfind	keysearch
do_restart	permanentchild_terminatednormal	temporary	transientrestartreached_max_restart_intensityrest_for_oneone_for_allone_for_oneeraseterminate_childrendo_terminateshutdown_errorbrutal_killkillexitDOWNprocesskilled
monitor_childmonitorunlinkstate_del_child	del_childsplit_child	get_child
replace_childdo_replace_childremove_child	keydelete
init_stateinit_state1newinvalid_type
validStrategyinvalid_strategythrowvalidIntensityinvalid_intensityvalidPeriodinvalid_periodsupnamecheck_startspec	keymemberduplicate_child_namecheck_childspecinvalid_child_specvalidChildTypeworkerinvalid_child_type	validName	validFuncinvalid_mfavalidRestartTypeinvalid_restart_type
validShutdowninvalid_shutdown	validModsdynamicforeachinvalid_modulesadd_restartnowlengthinPeriod
difference-*+report_erroroffenderreasonerrorContextsupervisor_reporterror_report
extract_child
child_typerestart_typemfanamepidreport_progressstartedprogressinfo_reportmodule_infoget_module_info-validMods/1-fun-0-invalid_module-update_chsp/2-fun-0--handle_call/3-fun-1--handle_call/3-fun-0-Code++�oI" +52@G0@B@R P@ F03GbGG@3@#@N0`R0p@0F0CGGG#@C#@3@N@�� �0 F #G�G@# 
�� �0 F #G�G@# 
�� �0 F #G�G@# 
�� �0 F #G�G@# 
�@� 
� @�#N0 �7
-#9
:
 B+

@
0F G
G@`F G
GF G
G
9
:
00B$BB @
@
 0@@
#@p9
:
 BB#+

9
#:
# B#B#C@#@3@$@C$@-9
:
 BB#+

9
#:
#�B#k�+
k�
B# 3+
3
@$@# 
&0@$@# 
0`F G
GF G
G0+

0�F0GG
GF #G
GF G
G#0
 9
$:
$�B#B3+
$#
 @@@@3-#9
":
" BB#+
"
@@# 
+9
#:
# BB#0
#;
#@

 

! @� @A0@0F G
G@!@� @# 
�@G"`F G
 GF G
G #J$@G NP%
! &8
(A#34
(3
 0@E#-#9
':
' BB#+
'
9
):
)�B+
)
@�@A0@0F G
G@'`F G
 GF G
G(` F #G
"GF G
G#)@G P*
# +@#@0
-,
#0-8
2@0A3$@@3@#@@4 
69
4<
4@0
. 
/.BB#+
4
9
34:
34�B4+
3
$@44@!0@ E@#@$0
-@/BB#0
4;
4@

0

109
34:
34�B4+
3
$@44@!0@ E@#@$0
-@1@#@4#@3�0@
%@-X@` E$�0 p0F G
G@24
,0 F G
G3@G0P@4J5
) 69
?:
?�B#B03+
?#
$9
?3:
?300@B3CB3SB3 #>$
7@@@S@C0�7?$9
<<
=@ 
80
;8BB#0
=;
=@

9

:91
=#9
>:
>�B+
>
$@@!@#$� 0@@� -]0F G
G:00F G
G#0;BB#B 3+
=
1
=#9
>:
>�B+
>
$@@!@3@#$0@@ -]@F0G
G$G0<+
=
@G@0=0F G
G@0>@G0P0?H@
+0A0>
B0�B?9
G<
H@ 
C0
FCBB#0
H;
H@

D

ED1
H#00F G
G#E00F G
G#FBB#B 3+
H
1
H#@@F0G
G#G3G+
H
@G@H0F G
G@I
,0J9
\:
I B3BC+
N3�9
O#:
N#�B#k�+
Nk�
B# S+
NS
@P9
^#:
^#�B#B#0B#@3+
^

�9
a:
a�BB0S+
a
$9
aS:
aS0BSBSBS @C@#$@34 p@@#@@#0
A9
M<
M@ 
K0
LKBB#+
M
@@#@4#@4�  0�@@#�@Q0@pF G
GF0#G
0GG@#LBB#B 3+
M
@@#@4#@3@40�@$@#$@Q0@�F0G
G4GF0#G
0GG@#@M@F0G
0GG$@@N9
O#:
O#�B#k�+
Ok�
B# S+
OS
@0F0G
0GGPG#O0
I3;3
I��
P�
V�
X�
ZP0P@#@C@$ -9
U:
U BB#+
U
19
T#:
T#�B#k�+
Tk�
$B#3+
T3B9
`$:
`$�B$B$+
`
@@#@ 
69
S<
S@ 
Q0
RQBB#+
S
9
_:
_�B+
_
$@@!@#0@@$$ -pF G
GF0#G
0GG@#0RBB#B 3+
S
9
_:
_�B+
_
$@@!@3@#0@@$$ -�F0G
GGF0#G
0GG@#0S@F0G
0GG$@0T@F0G
0GG`G$0U@F0G
0GGpG$0VP@C@#--9
W:
W BB#+
W
@�@# 
�9
a:
a @BB#F0G
0GG#WpF G
GF0G
0GGXP@#@C@ -9
[:
[ BB#+
[
19
Y#:
Y#�B#k�+
Yk�
$B#3+
Y3B@�@# -@F0G
0G
G@Y@F0G
0GG`GZP@#@C@ -9
[:
[ BB#+
[
19
d:
d�BB+
d
@# 
�@� -@F0G
0G
G@[@F0G
0GGpG\+
I�9
]#:
]#�B#k�+
]k�
B# 3+
]3
 09
c#:
c#�B#B#0B#@3+
c
8
bAC9
b:
b�BSB`cBps+
bS
$4
bC@c@s@3@#g@@@�@@� �@F0G
0GG@]0@#g9
d:
d�BB0#+
d
@# �@F0G
0GG@^@G P@_@G0P0`@G P0aHbHc@G P d@G Pe
4 f+
e
5 @@@G� �0F G
8Gg
9 h9
k:
k0B#B3B C+
k#
:P@#@C@30
�9
l:
l BB#0
l;
l@
;
i

ji@0F0G
G
;G#j00F G
8G#k
  @E@G� �0F G
8GlJm
< n9
o:
o�BB#B03+
o
@@#@3 
�@
o@G NPp
=0q9
w:
w�BB�#B�3+
w
@@@4@#@
#@3p9
t:
u BB#+
u
9
u#:
u# B#B#>$
r@
yr?$+
s
9
v:
v0BCB$B #@4@q@C40@C$PC4 @ 
|@s0F G
G@@t+
u
0F G
G4@u@vHw@G NPx
>y9
z:
z0 BBB @-@�-@�-@
z0F G
?G@{
@ |9
}:
}�Bk�+
}k�
B #+
}#
 @@-#9
~:
~ BB#+
~
8
~#A#3C4
~C @E39
:
�B+

@@#�@A0@0F G
G@} @@-#9
~:
~ BB#+
~
9
:
�BB0+

@@#@#0
�@@#�@A0@0F G
G@~0F G
G@@G P�
A0�8
�@0A$@#@@4 
�9
�:
� BB#+
�
@#@#@$0
�@�+
�
B E4#@@$0
�@�4
�0@@# p`�J�
C � @g @ �+
�@
B�0F G
G@�
D �9
�:
��B#B 3+
�#
$@@@4@3@$ -9
�:
� BB#+
�
19
�#:
�#�B#k�+
�k�
$B#3,
�3B9
�#:
�#�B#B#+
�
$� F G
EGF G
GF GG$@�0F GG�G$@�+
�
B9
�$:
�$�B$B$B$0#+
�
@@4@# 
69
�<
�@ 
�0
��BB#0
�;
�@

�

���0F G#G4F G
GF GG$@�@4@!@#40@ E#@$�0@A0@`F G
GF #GG@#�BB#B 3+
�
@4@!@3@#40@ E#@$$@A0@pF0G
G4GF #GG@#@�@G0P@�@G P@�J�@G0NP��0�9
�#:
�#�B#k�+
�k�
B# 3+
�3
@09
�#:
�#�B#3B#0CB#@S+
�3
@@S@#@$@C4 �9
�:
� BB#+
�
8
�4A44
�9
�:
��BB03B@C+
�
$9
�3:
�30@PB3B3S@C4F03GGSG#@@3#@A0@C$@#@@3@4@
�@�+
�
0F G
G@� 09
�#:
�#�B#3B#0C+
�3
@@#@C#@!0�9
�:
� BB#+
�
19
�#:
�#�B#B#@+
�
$@3@@@
� �0F G
G �H3�@G0P@�H4�J�@G P@�@G0P �@G P �
H@�+
�
I @9
�3:
�3�B3B3C+
�
@3@C3@
J@#@-X@@ 
� �0
�;
�@
;
�
K
��@@3@# 
�0F G
G@�0
�;
�@
L
�
M
�� @9
�3:
�3�B3B3C+
�
@3@C3@
J@#@-X@@�  
�0F G
G@� @9
�3:
�3�B3B3C+
�
@3@C3@
J@#@-X@@ 
� �@G P �
N �  @@@-J9
�:
� BB#0
�;
�@

�
<
��9
�#:
�#�B#B# +
�
@@0
� �9
�:
��BB+
�
@#@#@3@
O@
;@-X@@�  -0F G
;G@�@G P �J�
N0�0
�;
��

�
P
�
Q
�
R
��`09
�:
��BB03+
�
$9
�3:
�30B3CB3SB3 c@
$B39
�#:
�#�B#B#sB#@�+
�
@4@�@3@S@C@#$@cD@sT @3@@D#@@30
A9
�<
�@0
� 
��BB#+
�
@D@#@#@$T�P0�@@#�@Q0@0F G
G@�BB#0
�;
�@

�

��@D@#@#@$T�P0�@@#�@Q0@0F G
G@�@#@4#@T3DT� @@
%@-X@@ 
�@�@09
�:
��BB3+
�
$9
�#:
�#�B#B#CB#0S+
�
@$@S@3@#@C4 
�9
�:
� BB@@4 
�@44 
+9
�:
� BB#0
�;
�@

�

��@�0@# p@@#� @A0@@@ 
� �@$�0@# p@@#�0@A0@0F G
G@�009
�:
��BB3+
�
$9
�#:
�#�B#B#CB#0S+
�
@$@S@3@C@# 
�@ 
�@ 
+9
�:
� BB#0
�;
�@

�

��@� @A0@@@ 
��@�0@A0@0F G
G@�009
�#:
�#�B#B#3+
�
@3@#@@$ 
69
�<
�@0
� 
��BB#+
�
9
�:
��B+
�
$@$@!0@@�0 -0F G
G@�BB#0
�;
�@

�

��9
�:
��B+
�
$@$@!0@@�0 -0F G
G@�@#@#@$3$@
%@-X@@ 
�0�@G P`�H�H�@G P@�@G0P@�@G0P0�J�@G P0�
T �@#0
��
T0�8
�00A$@#@ 
� E#@@$0
�0�4
�@#�
U �9
�:
��Bk�+
�k�
$B#,
�#B  9
�:
��B#B3BPC+
�#
$@@@C@3 
�9
�:
� BB#+
�
@#@#@3�@
V@-X@@B#@!0@�+
�
@@B#@!0@ ��J�@G0P �
; �+
�
W@
�9
�:
� BB#+
�
00F G
G#�+
�
@
X@ �
�9
�:
�PBB #B03B@C+
�
Z+
�#
[+
�C
\+
�3@
�+
�30PF G
GC�
��
��  @@
�9
�:
� BB#+
�
00F G
G# �+
�
@
;@ �
�9
�:
�PBB #B03B@C+
�
Z+
�#
[+
�C
;+
�3@
 �+
�30PF G
GC �
��
�@
X@ �
�9
�:
�PBB #B03B@C+
�
Z+
�#
[+
�30PF G
GC �
��
��J�
]� @@
[@ @�
�9
�:
�0BB#B 3+
�
:+
�#@3�
�9
�:
�PBB #B03+
�
Z+
�#
[+
�30F G
G �
��
��
��@
 �
` �9
�:
��B#B3+
�#
$9
�:
��Bk�+
�k�
B C+
�C
@9
�:
��BB@#+
�
@@#@3 @@#@Q0@� 9
�:
��B#B 3+
�#
$9
�:
��BB0#+
�
@@#@3 
�@@#@A0@�@G P�@G0P�
a �8
�A#39
�#:
�#�B#k�+
�k�
$B# C+
�C@9
�#:
�#�B#+
�
$@#@B#@!@30@ E�9
�#:
�#�B#k�+
�k�
$B#C+
�C@9
�#:
�#�B#+
�
$@#@B#@!@30@ E�@@3@# 
� E�4
�@�@G0P�
b �@#0
��
b0�8
�A3C9
�3:
�3�B3k�+
�k�
$B3 S+
�S P9
�3:
�3�B3+
�
$@#@3@B#@!@C0@ E�`0F GG@�9
�3:
�3�B3k�+
�k�
$B3S+
�S P9
�3:
�3�B3+
�
$@#@3@B#@!@C0@ E�`0F GG@� PE3##@C0
��4
�0@#`0F GG@�@G0P �
c (9-:-�B#B03+-#
@3#@1N0�(@G NP(
d (9-:-�B#B03+-#
@@@3 -@@#@A0@(@G NP(
e (8-A#39-:-�Bk�+-k�
$9-	#:-	#�B#k�+-	k�
$B# CB S+-	CS=-(9-	#:-	#�B#k�+-	k�
$=-	( @E3(	@@3@# - E(

f (9-
:-
�B#B 3+-
#
$@9-:-�BB0#+-
@@1@30@@#@A0@(@G P(
@G0NP(
h@(@>-@-(?9-:- BB#+-
00F G
G#((
i@(9-:-0`@BCBDB 4@@C@3@#$@T-@D-@4-@$@ - @�F�G
GGTGGGDG4GG$GF G
G`(0 F G
kG(
l(0-;-�
Q-
-
R-
P-(@
(0F G
mG@N(
o(--(-@
(0F G
pG@N(
q(--'-@
(0F G
rG@N(
s ( +-!b0 	F #GG@#(!("
t(#@ -%($
t (%8-)@ A4@$--9-(:-( BB#+-(
9-+#:-+#�B#B# +-+
$@#@$#@@1@00-*;-*@
-&
B-'(&0F G
vG@(' E$@4 -%@((@()4-$ @`0F G
G@(*J(+@G0P@(,
w(-9-/:-/`BB#B 3B0CB@SBPc>-.@@#@3#@C3@SC@cS`-1(.?(/0F G
xG@(0
w`(1``@S@C@3$@#4@D@T-7@D-9@4-<@-3@@$ -@@-F�F�G
$GBGTGDG4G$GGF G
G`(2
y(30-5;-5@-4
z-4(4@
(50F G
{G@N(6
|(7@
(8
}(99-::-:0BB#B 30-:0-:#7-:3@
(:0F G
~G@N(;
(<0->;->`
L-=
I-=
M-=(=@
(>0F G
�G@N(?
� (@--A'-A@
(A0-D;-D@�-B
W-C(B+-D(C@
(D0F G
�G@N(E
�(F+-G
�@
(G7-H@g0@ (H0F G
�G@N(I
�(J9-L:-L�BBP#B`3BpC+-L
@P@C@3@$@#4 E3@@#@30-N@$@#@�@#$0@|$(-K40F G
G@@(K0F G
<G@@(L@G NP(M
�0(N8-P@0A$@#@@40-R+-O
@@#@$�00-N E(O@@(P4-M(Q
�0(R0@# -U'-S@
B(S@
(T
� (U9-T:-T0B#B39-T:-T0BCBS'-V#C}`C#}`9B@}`S3}`(V}`S3(W
�@(X0@@@#@@3$-ZF #G
�GE#F #G
�GE#F #G
�GE#F #GG$E#@
� 0(Y
�(Z9-[:-[�BB#B 3B0CB@SBPcB`s+-[
$�F G
�GsEF G
;GcEF G
�GSEF G
�GCEF G
�G3EF 3G
�G#E3([@G0NP(\
� (] @-Z�F #G
�GE#F #GGE#@
�  (^
�(_@N!(`
�(a@@N "(b
�(c0-d@
(d0F G
�G@N(e
� (f9-g:-g�Bk�+-gk�
$9-i:-i�Bk�+-ik�
$B #B 3+-i#3=-h(g9-i:-i�Bk�+-ik�
$=-i(h9-j:-j�B#B3+-j#
$9-j:-j�B+-j
$@@3#@!N0@(i(j@G0NP(k
�(l9-k:-k�BB#B 3B`CBpS+-k
$P`F@G3G#GCGS(m
�0(n9-m:-m P0B3F@GBG3G#GStrTImpT�#
&'(*-./.2&367.F&G.SY^_&g.jn&u&������6�6���ExpT��a�_=q<n9h4f,J

		FunTd�n��.�l��;�fE���c�Y�LitT�fx�m�1k1���І��ҩ�-K2e�\����=)9'�ld;m�,�ǫ;�@!�e�OO~�{�w^�Q;F�q�����
B�!"ܥ�d_��i�O�BMD��l3]GM�<*z�8�F�8�^7�>!�yr��L�&H_/Q�=�R�o/����CV�NW����|���jm>J$9��h.rGB�ؔ_��ݒYp�~q�[��嚡0}Gj�^�lks����_���B�(���/ђj�AttrI�lhdvsnln�pW��U��j<*f�Ajhd	behaviourld
gen_serverjjAbst