May I ask what the difference between a daemon thread and a regular thread
are?
----- Original Message -----
From: Chris Gow <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 21, 1999 2:16 PM
Subject: Re: daemon thread
> > Hi!
> >
> > I want to implement a daemon thread that is still alive after the
> > program exits. Is that possible? I was told that when only daemon
> > threads remain in a program, JVM exits. Does that mean the daemon
> > threads also exit?
> >
> Correct.
>
> > 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.
> >
> You won't need a deamon thread to watch for invalid sessions, a
> normal Java thread will do the job just fine.
>
> Chris Gow
> [EMAIL PROTECTED]
> >
__________________________________________________________________________
> > _
> > 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
>
>
___________________________________________________________________________
> 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
>
___________________________________________________________________________
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