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

                                                         
                                                                                                                                                                                                                                                  

                        

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

                                                                                                                                                                                                                                                                                                                                                                                                                                                                         

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               








                              


                                                           







                                    
                                      


                                      
                                          

                          
                                                     







                    


                                                                  
   

                                                 
                                  





                                                                                      
                                 


                         
                                











                                                         




                                                                                   

                                         
                              

                                        
                     

                                   
        


                                                                        
                                             
                             
       
                              
                                
         


                     

                                              
                  
       


                                                
  
                   


                                                 
  
                   




                                                            
              



                                                       
                
                
                         
            
                      

                                           



           





                                                                                                                                            
   

                                                                                                   
                         




                                            
  






                                   
           



                                                              
        






























                                                         
                                           




                                                                                   
        


                                      
        








                                                
        







                                                

           




































                                                                                            
              



                                
        
             
  





                                                       
        
             
  










































                                                                                    
        

                                                                                        
                       


























                                                                                     
                   





















                                       
  












                                                                                                 


                   

                                              
         
           
           


           

                       
                   














                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          


                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
FOR18�BEAMAtom��
supervisorbehaviour_info	callbacks	undefined
start_linkself
gen_serverstart_child
restart_childdelete_childterminate_childwhich_childrencount_childrencallinfinitycheck_childspecsokerrorbadarginittrue	trap_exiterlangprocess_flagstatesimple_one_for_onesupervisor_datastopignore
bad_return
init_children
setelement
start_specinit_dynamicbad_start_specstart_childrenchildstart_errorlistsreverse++do_start_childapplydo_start_child_ihandle_callhddictstorereplyvalueto_listmapfoldworkerworkersactivesupervisorsfoldlspecscount_childis_process_alivefalse+handle_castnullerror_logger	error_msgnoreplyhandle_infoEXITshutdown	terminatecode_changecheck_flags	bad_flagsupdate_childspecupdate_childspec1update_chsphandle_start_childalready_startedfindkeyfind
do_restart	permanentnormal	temporary	transientchild_terminatedrestartreached_max_restart_intensityrest_for_oneone_for_allone_for_oneeraseterminate_childrendo_terminateshutdown_errorbrutal_killkillexitDOWNprocesskilled
monitor_childmonitorunlinkstate_del_child	del_childsplit_child	get_child	keysearch
replace_childdo_replace_childremove_child	keydelete
init_stateinit_state1newinvalid_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_erroroffenderreasonerrorContextsupervisor_reporterror_report
extract_child
child_typerestart_typemfargsnamepidreport_progressstartedprogressinfo_reportmodule_infoget_module_info-validMods/1-fun-0-invalid_module-update_chsp/2-fun-0--handle_call/3-fun-3--handle_call/3-fun-2--handle_call/3-fun-1--handle_call/3-fun-0-Code+��}M" +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
:
00B$BB @
@
 0@@
#@p9
:
 BB#+

9
#:
# B#B#C@#@3@$@C$@-9
:
 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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
^:
^ BB#+
^
29
\#:
\#�B#3B#C+
\3
%+
\CB@�@# -@F0G
1G
G@\@F0G
1GG`G]P@#@C@ -
9
^:
^ BB#+
^
29
k:
k�BB+
k
@# 
�@� -@F0G
1G
G@^@F0G
1GGpG_0
L;
L@�
`�
b`9
a#:
a#�B#3B# CB#0SB#@c+
a3
+
aC
 p8
iSAS9
i:
i�B3B`CBps+
i3
%4
i@C@s@c@#g@@@�@@� �@F0G
1GG@a0@#g9
k:
k�BB0#+
k
@# �@F0G
1GG@b9
f#:
f#�B#3B# CB#0SB#@c+
f3
+
fC
0p8
iSAS9
i:
i�B3B`C+
i3
%4
i@c@#@C$g @#@G�0�9
j:
j BB#0
h$;$
h@
6
c
dc�0F G
7G#EEG�F #G
8GE#EG�=
ed�0F G
9G#EG�F #G
8GE#EG�e@F0G
1GG@0f0@#g09
k:
k�BB0#+
k
@G�0�9
j:
j@BB#B 3B0CF G
7GCEF CG
9G3ECF 3G
8G#E3F #G
;GE#F0G
1GGg@G P0hJ$iHSjHk@G Pl
< m9
l:
l�B#B3B`C+
l#
%0
lC;C
l@
6
n
qn9
l:
l@@PB4B$B B01
o3@3�0
t;
t@
>
o

po}4}P F@#GG$GG@#@p}4}$} #P0F@3GGGG#@3@q9
l:
l@@PB4B$B B01
r3@3�0
t;
t@
>
r

sr}4}P F@#GG$GG@#@s}4}$} #P0F@3GGG#G@3@tJu
@ v+
u
A @@@G� 0F G
DGw
E x9
{:
{0B#B3B C+
{#
FP@#@C@30
�9
|:
| BB#0
|;
|@
G
y

zy@0F0G
G
GG#z00F G
DG#{
  @E@G� 0F G
DG|J}
H ~9
:
�BB#B03+

@@#@3 
�@
@G NP�
I0�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�
J�9
�:
�0 BBB @-!@�-%@�-(@
�0F G
KG@�
L �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�
M0�8
�@0A$@#@@4 
�9
�:
� BB#+
�
@#@#@$0
�@�+
�
> E4#@@$0
�@�4
�0@@# p`�J�
N � @g@@ �+
�@
>�0F G
G@�
O �9
�:
��B#B 3+
�#
%@@@4@3@$ -
9
�:
� BB#+
�
29
�#:
�#�B#3B#C+
�3
%,
�CB�PF G
PGCF G
GF GG$@�0F GG�G$@�+
�
>9
�$:
�$�B$B$B$0#+
�
@@4@# 
99
�<
�@ 
�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@#@�@G P@�J�@G0NP��0�9
�#:
�#�B#3B# CB#0SB#@c+
�3
+
�C
@p@@c@#@$@S4 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#@!09
�:
��BB@#+
�
%@3@@#C@#@C@
� �+
�
>0F G
G �H3�@G0P@�H4�J�@G P �
S@�+
�
T @9
�3:
�3�B3B3C,
�
=
��0
�;
�@
G
�
U
��@@3@# 
�0F G
G@�0
�;
�@
V
�
W
�� @9
�3:
�3�B3B3C+
�
@3@C3@
X@#@-c@@�  
�0F G
G@� @9
�3:
�3�B3B3C+
�
�@3@C3@
X@#@-c@@ 
� �@G P �
Y �  @@@-U9
�:
� BB#0
�;
�@

�
H
��9
�#:
�#�B#B# +
�
@@0
� �9
�:
��BB+
�
@#@#@3@
Z@
G@-c@@�  -0F G
GG@�@G P �J�
Y0�0
�;
��

�
[
�
\
�
]
��`09
�:
��BB03+
�
%9
�3:
�30B3CB3SB3 c@
%B39
�#:
�#�B#B#sB#@�+
�
@4@�@3@S@C@#$@cD@sT @3@@D#@@30
D9
�<
�@0
� 
��BB#+
�
=
��BB#0
�;
�@

�

��@D@#@#@$T�P0�@@#�@Q0@0F G
G@�@#@4#@T3DT� @@
&@-c@@ 
�@�@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 -0F G
G@�@#@#@$3$@
&@-c@@ 
�0�@G P`�H�H�@G P@�@G0P@�@G0P0�J�@G P0�
_ �@#0
��
_0�8
�00A$@#@ 
� E#@@$0
�0�4
�@#�
` �9
�:
��B#B3BPC+
�#
%,
�3B P@@@C@3 
�9
�:
� BB#+
�
@#@#@3�@
a@-c@@B#@!0@�+
�
@@B#@!0@ ��J�
G �+
�
b@
�9
�:
� BB#+
�
00F G
G#�+
�
@
c@ �
�9
�:
�PBB #B03B@C+
�
e+
�#
f+
�C
g+
�3@
�+
�30PF G
GC�
��
��  @@
�9
�:
� BB#+
�
00F G
G# �+
�
@
G@ �
�9
�:
�PBB #B03B@C+
�
e+
�#
f+
�C
G+
�3@
 �,
�3�
��
�@
c@ �
�9
�:
�PBB #B03B@C+
�
e+
�#
f+
�3�0PF G
GC �
��
��J�
h� @@
f@ @�
�9
�:
�0BB#B 3+
�
F+
�#@3�
�9
�:
�PBB #B03+
�
e+
�#
f+
�30F G
G �
��
��
��@
 �
k �9
�:
��B#B3+
�#
%9
�:
��BCB SB@c+
�C
+
�S
p@@c@3 @@#@Q0@� 9
�:
��B#B 3+
�#
%9
�:
��BB0#+
�
@@#@3 -@@#@A0@�@G P�@G0P(
l (8-A#39-#:-#�B#CB#SB# c+-C
%,-c+-S(@@#@B#@!@30@ E(@@3@# - E(4-@(
m (@#0-(
m0(8-A3C9-
3:-
3�B3SB3cB3 s+-
S
%,-	s+-
c(	 P@#@3@B#@!@C0@ E�`0F GG@(
 PE3##@C0-(4-0@#`0F GG@(
n (
9-:-�B#B03+-#
@3#@1N0(@G NP(
p (9-:-�B#B03+-#
@@@3 -@@#@A0@(@G NP(
q (9-:-�B#B 3+-#
%8-ACS9-C:-C�BCcBC s+-c
%+-s3 `ES(8- A - E(
r (9-:-�B#B 3+-#
%@9-:-�BB0#+-
@@1@30@@#@A0@(@G P(@G0NP(
t@(@>-@-(?9-:- BB#+-
00F G
G#((
u@(9-:-0`@BCBDB 4@@C@3@#$@T-!@D-%@4-(@$@ -+@�F�G
GGTGGGDG4GG$GF G
G`(0 F G
wG( 
x(!0-#;-#�
\-"
-"
]-"
[-"("@
(#0F G
yG@N($
{(%--&(-&@
(&0F G
|G@N('
}((--)'-)@
()0F G
~G@N(*
 (++-,b0 	F #GG@#(,(-
�(.@ -0(/
� (08-4@ A4@$-89-3:-3 BB#+-3
9-6#:-6#�B#B# +-6
%@#@$#@@1@00-5;-5@
-1
>-2(10F G
�G@(2 E$@4 -0@(3@(44-/ @`0F G
G@(5J(6@G0P@(7
�(89-::-:`BB#B 3B0CB@SBPc>-9@@#@3#@C3@SC@cS`-<(9?(:0F G
�G@(;
�`(<``@S@C@3$@#4@D@T-B@D-D@4-G@->@@$ -K@-Q�F�G
%GBGTGDG4G$GGF G
G`(=
�(>0-@;-@@-?
6-?(?@
(@0F G
�G@N(A
�(B@
(C
�(D9-E:-E0BB#B 30-E0-E#7-E3@
(E0F G
�G@N(F
�(G0-I;-I`
V-H
T-H
W-H(H@
(I0F G
�G@N(J
� (K--L'-L@
(L0-O;-O@�-M
b-N(M+-O(N@
(O0F G
�G@N(P
�(Q+-R
�@
(R7-S@gP@ (S0F G
�G@N(T
�(U9-W:-W�BBP#B`3BpC+-W
@P@C@3@$@#4 E3@@#@30-Y@$@#@�@#$0@| $(-V40F G
G@@(V0F G
HG@@(W@G NP(X
�0(Y8-[@0A$@#@@40-]+-Z
@@#@$�00-Y E(Z@@([4-X(\
�0(]0@# -`'-^@
>(^@
(_
� (`9-_:-_0B#B39-_:-_0BCBS'-a#C}`!C#}`"9B@}`!S3}`(a}`!S3(b
�@(c0@@@#@@3$-eF #G
�GE#F #G
�GE#F #G
�GE#F #GG$E#@
� #0(d
�(e9-f:-f�BB#B 3B0CB@SBPcB`s+-f
%�F G
�GsEF G
GGcEF G
�GSEF G
�GCEF G
�G3EF 3G
�G#E3(f@G0NP(g
� (h @-e�F #G
�GE#F #GGE#@
� $(i
�(j@N%(k
�(l@@N &(m
�(n0-o@
(o0F G
�G@N(p
� (q9-r:-r�B#B 3+-r#
%9-r:-r�Bk�+-rk�
%B C+-rC39-s:-s�B#B3+-s#
%@@3#@!N0@(r(s@G0NP(t
� (u 
m(v
�0(w9-v#:-v# B#3B#C1-x}P3}PC0PF #GG@#(x}PC0PF G3G@(y
�(z9-y:-y�BB#B 3B`CBpS+-y
%P`F@G3G#GCGS({
�0(|9-{:-{ P0B3F@GBG3G#GStrTImpT�' '()+./0/3'4/5':=?BC/Q'R/^dij'o's/vz'�'�����B�B���ExpT��l�jI�H~Ex@v-M


		FunT��|r��z�a�w�G��u��!�q:��n�ƶLitT�x�m�=O�0�/U�RUT@LH޺�ԁ�;3R������kG>���K�8g�FB��{�}�n`�>�f�`������C�\�����;X��>��X;�L(Ȁ�Q�h��g4r-�hn��9>A�9�w���Y�6Χ{h�3��Zm�C�3�YX��$H~�]ΚS���59O9|�'�k�E.3�azp�Ŕ�V1�q�:���-����\���T�Ȩ��D-)��HnQ,m4fyL�[���� Z��.?O��8vY��o�i<J�Su	m���mAttr��lhdvsnlnw����am��L��'d�jhd	behaviourld
gen_serverjhdexport_typelhd
child_specahddel_errahdstartchild_retahdstrategyajjAbst