Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1:/tmp/cvs-serv2201
Modified Files:
childapp.py
Log Message:
better stop for new ChildApp2 children
Index: childapp.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/childapp.py,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** childapp.py 10 Dec 2003 18:58:44 -0000 1.45
--- childapp.py 13 Dec 2003 10:47:11 -0000 1.46
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.46 2003/12/13 10:47:11 dischi
+ # better stop for new ChildApp2 children
+ #
# Revision 1.45 2003/12/10 18:58:44 dischi
# Added ChildApp2 which is a ChildApp including the code in ChildThread to
***************
*** 17,21 ****
#
# Revision 1.44 2003/12/06 17:50:52 mikeruelle
! # a small change. gonna use childapp in command.py soon. allows me to change
filenames to ones command.py looks for
#
# Revision 1.43 2003/11/28 20:23:43 dischi
--- 20,25 ----
#
# Revision 1.44 2003/12/06 17:50:52 mikeruelle
! # a small change. gonna use childapp in command.py soon. allows me to change
! # filenames to ones command.py looks for
#
# Revision 1.43 2003/11/28 20:23:43 dischi
***************
*** 95,98 ****
--- 99,103 ----
"""
global __all_childapps__
+ global running_children
global freevo_shutdown
***************
*** 101,105 ****
--- 106,114 ----
print '%d child(s) still running, terminate them' % len(__all_childapps__)
+
freevo_shutdown = True
+ while running_children:
+ print 'shutting down %s' % running_children[0].binary
+ running_children[0].stop()
while __all_childapps__:
print 'shutting down %s' % __all_childapps__[0].binary
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog