> If u want a thread be alive after the program exit DON'T set it as deamon. you mean a thread can survive if his parent is dead? thanks! Xizhen > > Regards > > Rodrigo Sodre > > > ----- Mensagem original ----- > > De: Xizhen Wang [SMTP:[EMAIL PROTECTED]] > > Enviada em: Quinta-feira, 22 de Julho de 1999 0:58 > > Para: [EMAIL PROTECTED]; > > [EMAIL PROTECTED] > > Assunto: independent daemon thread > > > > Hi! > > > > I want to implement a independent daemon thread that is still alive > > after the program exits. Is that possible? > > > > I want to use a daemon thread to do some background control, for > > example, if a servlet session has idled for 20 minutes, the daemon > > thread will invalidate this session. > > > > Can anyone help? > > > > Thanks! > > > > Unsubscription, archives, FAQ - http://www.xcf.berkeley.edu/lists.html > > Unsubscription, archives, FAQ - http://www.xcf.berkeley.edu/lists.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
