[poe-commits] poe/lib/POE Kernel.pm,1.292,1.293
Brought to you by:
rcaputo
From: <rc...@us...> - 2004-07-15 13:58:20
|
Update of /cvsroot/poe/poe/lib/POE In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6628/lib/POE Modified Files: Kernel.pm Log Message: The description of aliases was horrible. Now it's rewritten. Index: Kernel.pm =================================================================== RCS file: /cvsroot/poe/poe/lib/POE/Kernel.pm,v retrieving revision 1.292 retrieving revision 1.293 diff -C2 -d -r1.292 -r1.293 *** Kernel.pm 11 Jul 2004 05:46:30 -0000 1.292 --- Kernel.pm 15 Jul 2004 13:58:10 -0000 1.293 *************** *** 2958,2967 **** Sessions with aliases are treated as daemons within the current ! program (servlets?). They are kept alive even without other things to ! do on the assumption that some other session will need their services. ! Daemonized sessions may spontaneously self-destruct if no other ! sessions are active. This prevents "zombie" servlets from keeping a ! program running with nothing to do. =over 2 --- 2958,2969 ---- Sessions with aliases are treated as daemons within the current ! program. They are kept alive even without other things to do. It's ! assumed that they will receive events from some other session. ! Aliases are passive work. A session with just an alias to keep it ! alive can't do anything if there isn't some other active session ! around to send it messages. POE knows this, and it will gladly kill ! off aliased sessions if everything has become idle. This prevents ! "zombie" sessions from keeping an otherwise dead program running. =over 2 |