aboutsummaryrefslogblamecommitdiffstats
path: root/bootstrap/lib/stdlib/ebin/supervisor.beam
blob: 54c09f5a66db8d950224032a6d6c09b3be1e97b9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                        

                                                         
                                                                                                                                                                                                                                                  

                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                               

                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
                                                                                                     

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           








                              
                                                           

                      







                                    
                                      


                                      
                                          

                          
                                                     







                    


                                                                  
   

                                                 
                                  





                                                                                      
                                 


                         
                                











                                                         



                                                              

                                             

     
                        
  
                             




                                     
    


                                                                                      
                              
       

                              
                                    
         


                                   
                                                                     


                                             
                             
       
                              
                                
         


                     
                                              

                                      
       
                                                
                      
                          






                                                            
                         
                               
                      
                                                              





                                           
                      
                                                   





                         
                                                                              

























                                                                                                                                             
  






                                   
           



                                                              
        
                                
                                                         



                          
                                   
                                       
                                              










                                                    
                                        







                                                
                                             
                                   
                                


                                                                                   
                                                            
                                                                          
        








                                           
                          


                              
        
                             

                                    

                                                


                                    
           
   
                          







                                   
                                                                                                



                                               
                                            
                          
                                                                                   



                                                                                   
                                                               







                                                   
                                  
                        
                                                                                            
                 











                                                                                          
        
             
  





                                                       
        
             
  



























                                                   
           









                                                           
     




















                                                                                                                      
   

















                                                     
        

                                                                                  
                       


























                                                                                     
                   





















                                       
  












                                                                                                 


                   

                                              
         




           

                       
                   

















                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                      
FOR1@PBEAMAtom��
supervisorbehaviour_info	callbacks	undefined
start_linkself
gen_serverstart_child
restart_childdelete_childterminate_childwhich_childrencount_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_call=:=value	temporaryreplyfalsehdsetsto_listmapdictfoldworkerworkersactivesupervisorsfoldlspecscount_childis_process_alive+handle_castnullerror_logger	error_msgnoreplyhandle_infoEXITshutdown	terminatecode_changecheck_flags	bad_flagsupdate_childspecupdate_childspec1update_chsphandle_start_childalready_startedkeyfind
do_restart	permanentnormal	transientchild_terminatedrestartreached_max_restart_intensityrest_for_oneone_for_allone_for_oneerasestoreterminate_childrendo_terminateshutdown_errorbrutal_killkillexitDOWNprocesskilled
monitor_childmonitorunlink
save_childsave_dynamic_childadd_elementdynamics_dbnewdynamic_child_argsis_setfindstate_del_childdel_element	del_childsplit_child	get_child	keysearchget_dynamic_childis_dynamic_pid
is_elementis_key
replace_childdo_replace_childremove_child	keydelete
init_stateinit_state1invalid_type
validStrategyinvalid_strategythrowvalidIntensityinvalid_intensityvalidPeriodinvalid_periodsupnamecheck_startspec	keymemberduplicate_child_namecheck_childspecinvalid_child_specvalidChildTypeinvalid_child_type	validName	validFuncinvalid_mfavalidRestartTypeinvalid_restart_type
validShutdowninvalid_shutdown	validModsdynamicforeachinvalid_modulesadd_restartnowlengthinPeriod
difference-*report_erroroffenderreasonerrorContextsupervisor_reporterror_report
extract_child
child_typerestart_typemfargsnamepidreport_progressstartedprogressinfo_reportmodule_infoget_module_info-validMods/1-fun-0-invalid_module-update_chsp/2-fun-0--handle_call/3-fun-5--handle_call/3-fun-4--handle_call/3-fun-3--handle_call/3-fun-2--handle_call/3-fun-1--handle_call/3-fun-0-Code27��V" +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$@-L9
:
 BB#+

9
#:
#�B#3B# C+
3
+
C
@$@# 
(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
5@0A3$@@3@#@@4 
99
7<
7@0
0 
10BB#+
7
9
64:
64�B4,
3
%=
61BB#0
7;
7@

2

429
64:
64�B4+
6
%3@44@!0@ E@#@$0
/@4@#@4#@3�0@
&@-�@` E$�0 p0F G
G@54
.0 F G
G6@G0P@7J8
* 99
B:
B�B#B03+
B#
%9
B3:
B300@B3CB3SB3 #>$
:@@@S@C0�:?$9
?<
@@ 
;0
>;BB#0
@;
@@

<

=<1
@#9
A:
A�B+
A
%@@!@#$� 0@@� -�0F G
G=00F G
G#0>BB#B 3+
@
1
@#9
A:
A�B+
A
%@@!@3@#$0@@ -�@F0G
G$G0?+
@
@G@0@0F G
G@0A@G0P0BHC
,0D0>
E0�E?9
J<
K@ 
F0
IFBB#0
K;
K@

G

HG1
K#00F G
G#H00F G
G#IBB#B 3+
K
1
K#@@F0G
G#G3J+
K
@G@K0F G
G@L
-0M9
e:
L B3BC0
W3;3
W@�
N�
TN9
P#:
P#�B#SB# c+
PS
1
OC=
PO,
Xc
P0P9
t#:
t#�B#B#B# 3+
t
�3
@$@#@#@C@@30-19
S:
r BB#+
r
/@$@#@$ 
�9
R:
R�BB@#+
R
%,
Q#
0+
R
Q@@$�0 -@F0G
1G
G@R@�0 -B@F0G
1G
G@S+
r
2@F0G
1GGPG0T9
Y#:
W#�B#SB# cB#0s+
WS
+
Wc
@�
�s9
w:
w�BB03+
w
%9
w3:
w30B3B3B3 s@4@C@s@#$ p@@#@@#0
D9
p<
p@ 
U0
VUBB#+
p
9
s4:
s4�B4B4@+
s
%@$3@@#@#@4�0@-pF G
GF0#G
1GG@#VBB#B 3+
p
9
s4:
s4�B4B4@+
s
%@3C@$3@@#@#@C$@4�  @-�F0G
GGF0#G
1GG@# W9
Y#:
Y#�B#SB# c+
YS
+
Yc
X@0F0G
1GG`G#Y0
L3;3
L`�
Z�
`�
bZ0P@#@C@$ -/9
_:
_ BB#+
_
/9
^#:
^#�B#3B#C+
^3
%+
^CB9
t$:
t$�B$B$+
t
@@#@ 
99
]<
]@ 
[0
\[BB#+
]
@@!@#0@@$$ -BpF G
GF0#G
1GG@#0\BB#B 3+
]
@@!@3@#0@@$$ -B�F0G
GGF0#G
1GG@#0]@F0G
1GG$@0^@F0G
1GGpG$0_@F0G
1GGPG$0`P@C@#-j9
a:
a BB#+
a
@�@# 
�9
w:
w @BB#F0G
1GG#apF G
GF0G
1GGbP@#@C@ -/9
d:
d BB#+
d
/9
c#:
c#�B#3B#C+
c3
%+
cCB@�@# -H@F0G
1G
G@c@F0G
1GGpGd@F0G
1GGPGe0
L;
L@�
f�
if9
h#:
h#�B#3B# CB#0SB#@c+
h3
8
hSASs�9
hs:
hs�Bs�Bs@�Bs`�Bsp�+
h�
%+
g�
04
h�+
gC
 �@�@�@c@#g@#@@
0@# -�@@� �@F0G
1GG@g4
h�+
hC
0�@�@�@c@�@#$g@#@@@#�  -�@@� �@F0G
1GG@h0@#g 9
x:
x�BB0#+
x
@# �@F0G
1GG@i9
q#:
q#�B#3B# CB#0SB#@c+
q3
8
qSASs�9
qs:
qs�Bs�Bs@�Bs`�+
q�
%+
m�
04
q�+
mC
0�@c@#@�$g0@#@@
0@# -@G�@#@0�9
w:
w BB#0
u$;$
u@
9
j
kj�0F G
:G#EEG�F #G
;GE#EG�=
lk�0F G
<G#EG�F #G
;GE#EG�l@F0G
1GG@0m4
q�+
qC
@�@c@�@#$@�4g@@#@@@# -@G�@#@0�9
w:
w BB#0
v4;4
v@
9
n
on�0F G
:G#EEG�F #G
;GE#EG�=
po�0F G
<G#EG�F #G
;GE#EG�p@F0G
1GG$@@q0@#gP9
x:
x�BB0#+
x
@G�09
w:
w@BB#B 3B0CF G
:GCEF CG
<G3ECF 3G
;G#E3F #G
>GE#F0G
1GGrJs@G0P@t@G P0uJ$vJ4wHx@G Py
? z9
y:
y�B#B3B`C+
y#
%0
yC;C
y@
9
{
~{9
y:
y@@PB4B$B B01
|3@30
�;
�@
2
|

}|}4}P F@#GG$GG@#@}}4}$} #P0F@3GGGG#@3@~9
y:
y@@PB4B$B B01
3@30
�;
�@
2


�}4}P F@#GG$GG@#@�}4}$} #P0F@3GGG#G@3@�J�
B �+
�
C @@@G� 0F G
FG�
G �9
�:
�0B#B3B C+
�#
HP@#@C@30
�9
�:
� BB#0
�;
�@
I
�

��@0F0G
G
IG#�00F G
FG#�
  @E@G� 0F G
FG�J�
J �9
�:
��BB#B03+
�
@@#@3 
�@
�@G NP�
K0�9
�:
��BB�#B�3+
�
@@@4@#@
#@3p9
�:
� BB#+
�
9
�#:
�# B#B#>$
�@
��?$+
�
9
�:
�0BCB$B #@4@q@C40@C$PC4 @ 
�@�0F G
G@@�+
�
0F G
G4@�@�H�@G NP�
L�9
�:
�0 BBB @-S@�-W@�-Z@
�0F G
MG@�
N �9
�:
��B#B 3+
�#
+
�3
 @@-`9
�:
� BB#+
�
8
�#A#3C4
�C @E3#@�@A0@0F G
G@� @@-`9
�:
� BB#+
�
9
�:
��BB0+
�
@@#@#0
�@@#�@A0@0F G
G@�0F G
G@�@G P�
O0�8
�@0A$@#@@4 
�9
�:
� BB#+
�
@#@#@$0
�@�+
�
2 E4#@@$0
�@�4
�0@@# p`�J�
P � @g`@ �+
�@
2�0F G
G@�
Q �9
�:
��B#B 3+
�#
%0@@$@3@ -/9
�:
� BB#+
�
/9
�#:
�#�B#3B#C+
�3
%,
�CB�PF G
RGCF G
GF GG0�0F GG�G0�+
�
29
�:
��BB+
�
@@$ 
99
�<
�@ 
�0
��BB#0
�;
�@

�

���0F G#G$F G
GF GG0�@$@!@#$0@@�  -`F G
GF #GG@#�BB#B 3+
�
@$@!@3@#$0@@ -pF0G
G$GF #GG@#0�@G P0�J�@G0NP��0�9
�#:
�#�B#3B# CB#0SB#@c+
�3
8
�SASs�4
��+
�C
`�9
�s:
�s�Bs3Bs0CBs@S+
�3
%@$@@c@S@#@s4@D@CT -@@$ -9
�:
� BB#+
�
9
�T:
�T0@0BTBTF03GGG#@4@3#4T@A0@C$@#@@3@D@
�`�+
�
0F G
G`� 09
�#:
�#�B#3B#0C+
�3
@@#@C#@!09
�:
��BB@#+
�
%@3@@#C@#@C@
� �+
�
20F G
G �HT�@G0P`�J�@G P �
T@�+
�
U @9
�3:
�3�B3B3C,
�
=
��0
�;
�@
I
�
V
��@@3@# -0F G
G@�0
�;
�@
0
�
W
�� @9
�3:
�3�B3B3C+
�
@3@C3@
X@#@-�@@�  -0F G
G@� @9
�3:
�3�B3B3C+
�
�@3@C3@
X@#@-�@@ 
� �@G P �
Y �  @@@-�9
�:
� BB#0
�;
�@

�
J
��9
�#:
�#�B#B# +
�
@@0
� �9
�:
��BB+
�
@#@#@3@
Z@
I@-�@@�  -H0F G
IG@�@G P �J�
Y0�0
�;
��

�
[
�
\
�
]
��p09
�:
��BB03+
�
%9
�3:
�30B3CB3SB3 c@
%B3B@s9
�#:
�#�B#B#�B#@�+
�
@D@�@s@3@S@C$@#4@cT@�d -@@ @3@@T#@$@3$0
D9
�<
�@0
� 
��BB#+
�
=
��BB#0
�;
�@

�

��@T@#@$#@4d�`0@@#�@Q0@0F G
G@�@#@D#@d3Td�0@@
&@-�@@ 
�@�@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@#@@$ 
99
�<
�@0
� 
��BB#+
�
9
�:
��B,
�
%=
��BB#0
�;
�@

�

��9
�:
��B+
�
%�@$@!0@@�0 -B0F G
G@�@#@#@$3$@
&@-�@@ 
�0�@G Pp�H�H�@G P@�@G0P@�@G0P0�J�@G P0�
` �@#0
��
`0�8
�A3C9
�3:
�3�B3SB3@c+
�S
%+
�c
00P@3@#@@C$ 
�@@#@$0
�0�0P@3@#@@C$ 
� E#@@$0
�0�4
�@#�
a �9
�:
��B#B3B@CBPS+
�#
%,
�3B0`@$@@S@3@C 
�9
�:
� BB#+
�
+
�#
V+
�
U�@#@$#@3@
b@-�=
��+
�
�@$@B#@!0@0��J�
I �+
�
c@-9
�:- BB#+-
00F G
G#�+-
@
d@ �
�9
�:
�PBB #B03B@C+
�
f+
�#
g+
�C
h+
�3@
�+
�30PF G
GC�
��
��  @@-9
�:- BB#+-
00F G
G# �+-
@
I@ �
�9
�:
�PBB #B03B@C+
�
f+
�#
g+
�C
I+
�3@
 �,
�3�
��
�@
d@ �-9
�:
�PBB #B03B@C+
�
f+
�#
g+
�3�0PF G
GC �
�(
�(J(
i( @@
g@ @(-	9-:-0BB#B 3+-
H+-#@3(-9-:-PBB #B03+-
f+-#
g+-30F G
G (-(-(-(	@
 (

l (9-:-�B#B03B@C+-#
%9-3:-30B3SB3c+-C
09-
:-�BsB0�+-s
 @�F0#GSGcGB@@@A@�0@ E#@@A0@ (9-
:-
�B#B03+-
#
 @E3#@AN0@(

m@(+-
09-
3:-3�B3CB3@S+-C
 `@@S@
0@3 -@@� @@#@Q0@(9-
3:-
3�B3CB3@S+-
C
0`@@S@#@3$ -@@#@� 0@@#@Q0@(
o (+-
0+-BN(+-BN(@(
q (  @@@0-;-@
2-
-(@@  (@G@ (J(
t (9-:-�B#B3B@C+-#
%+-C
09-:-�BSB cB@s+-S
+-c
 �@@s@
0@3 -@@� @@#@Q0@(9-:-�BSB cB@s+-S
+-c
 �@@s@C@3 -@@� @@#@Q0@( 9-:-�B#B 3+-#
%9-:-�BB0#+-
@@#@3 - @@#@A0@(@G P(@G0P(
v ( 8-&A#39-%#:-%#�B#CB#SB# cB#@s+-%C
%+-!c,-"s
0,-$c(!+-%S+-#s
0("@3(#+-%S($@@#@B#@!@30@ E(%@@3@# -  E(&4-@('
w ((@#0-*()
w0(*8--A3C9-,3:-,3�B3SB3cB3 s+-,S
%,-+s+-,c(+ P@#@3@B#@!@C0@ E�`0F GG@(, PE3##@C0-*(-4-)0@#`0F GG@(.
x (/@
2#0-1(0
x0(1+-2#
1-2 -5(29-3:-3�B#B03+-3#
@3#@1N0 (3@G NP(4
z (59-4:-4�B#B03B@C+-4#
8-43A3Sc4-4c `9-;S:-;S�BSBS@#+-;
%@@C@#@S -@@ -=0-:;-:@
2-6
-9(6@0-:;-:@
2-7
-8(70F G
/G (8@
2 (9@@#� @!0@0F G
/G@(:J(;@G0P (<
{ (=  @@@0-@;-@@
->
2-?(>@@ ! (?@@ " (@J(A
~ (B9-C:-C�B#B03+-C#
@@@3 -E@@#@A0@(C@G NP(D
 (E9-F:-F�B#B 3+-F#
%8-DACS9-FC:-FC�BCcBC s+-Fc
%+-Fs3 `ES(F8-D A -E E(G
� (H9-J:-J�B#B 3+-J#
%@9-I:-I�BB0#+-I
@@1@30#@@#@A0@(I@G P(J@G0NP(K
�@(L@>-M@-P(M?9-N:-N BB#+-N
00F G
G#(N(O
�@(P9-Q:-Q0`@BCBDB 4@@C@3@#$@T-S@D-W@4-Z@$@�P -]�F�G
GGDGGBG4G$GGGF G
GP(Q0 F G
�G(R
�(S0-U;-U�
\-T
-T
]-T
[-T(T@
(U0F G
�G@N$(V
�(W--X(-X@
(X0F G
�G@N$(Y
�(Z--['-[@
([0F G
�G@N$(\
� (]+-^b0 	%F #GG@#(^(_
�(`@ -b(a
� (b8-f@ A4@$-j9-e:-e BB#+-e
9-h#:-h#�B#B# +-h
%@#@$#@@1@0&0-g;-g@
-c
2-d(c0F G
�G@(d E$@4 -b@(e@(f4-a @`0F G
G@(gJ(h@G0P@(i
�(j9-l:-l`BB#B 3B0CB@SBPc>-k@@#@3#@C3@SC@cS`-n(k?(l0F G
�G@(m
�`(n``@S@C@3$@#4@D@T-t@D-v@4-y@-p@@$ -}@-��F�G
%GBGTGDG4G$GGF G
G`(o
�(p0-r;-r@-q
9-q(q@
(r0F G
�G@N$(s
�(t@
(u
�(v9-w:-w0BB#B 30-w0-w#7-w3@
(w0F G
�G@N$(x
�(y0-{;-{`
0-z
U-z
W-z(z@
({0F G
�G@N$(|
� (}--~'-~@
(~0-�;-�@�-
c-�(+-�(�@
(�0F G
�G@N$(�
�(�+-�
�@
(�7-�@gp@ '(�0F G
�G@N$(�
�(�9-�:-��BBP#B`3BpC+-�
@P@C@3@$@#4( E3@@#@30-�@$@#@�@#$0@|)$(-�40F G
G@@(�0F G
JG@@(�@G NP(�
�0(�8-�@0A$@#@@40-�+-�
@@#@$�00-� E(�@@(�4-�(�
�0(�0@# -�'-�@
2(�@
(�
� (�9-�:-�0B#B39-�:-�0BCBS'-�#C}`*C#}`+9B@}`*S3}`(�}`*S3(�
�@(�0@@@#@@3$-�F #G
�GE#F #G
�GE#F #G
�GE#F #GG$E#@
� ,0(�
�(�9-�:-��BB#B 3B0CB@SBPcB`s+-�
%�F G
�GsEF G
IGcEF G
�GSEF G
�GCEF G
�G3EF 3G
�G#E3(�@G0NP(�
� (� @-��F #G
�GE#F #GGE#@
� -(�
�(�@N.(�
�(�@@N /(�
�(�0-�@
(�0F G
�G@N$(�
� (�9-�:-��B#B 3+-�#
%9-�:-��Bk�+-�k�
%B C+-�C39-�:-��B#B3+-�#
%@@3#@!N0@(�(�@G0NP(�
� (� 
z(�
�0(�9-�#:-�# B#3B#C1-�}P3}PC0PF #GG@#(�}PC0PF G3G@(�
� (�9-�:-� B#B31-�}@#}@30@F #GG@#(�}@30@F G#G@(�
�(�9-�:-��BB#B 3B`CBpS+-�
%P`F@G3G#GCGS(�
�0(�9-�:-� P0B3F@GBG3G#G(�
�0(�P0F@3GBGG#G@3StrTImpTD0 '()+.345'6754878'=@ADE'S7^7_ejk4n4p7p4r7s4u'y4|7}'��'�'�����D�D���ExpT�����K�J�G�B�-M


		FunT����Y������hb���Y_��}A���N�����W���{ʧLitT�x�m�OK1�gKK-E��xr�E�O�{���ʹ7MB&i���~qgc](��?�{�13p���Y4#cmu����\�輂+jRT�`<f0��*`�R0�(#^Fu��bt��ȵ̓U���`�`���u��80ghAz�
V�"+B]�k�!Y������/�˚9%�a�����?+y�I9k����B���_żk�}�)�ka�V���Z|��GF�G%jI�e�Dr�bi�1�c����/��o�"��d[��Ϟ���n�	(�O�����mAttrI�lhdvsnln�(��ֱ�@
��zVjhd	behaviourld
gen_serverjjAbst