Re: seperate service thread
From: David Browne (meat_at_hotmail.com)
Date: 08/28/04
- Next message: Graeme: "Re: date format"
- Previous message: William: "Re: Session state lost after accessing database"
- In reply to: Steve C. Orr [MVP, MCSD]: "Re: seperate service thread"
- Next in thread: PJ: "Re: seperate service thread"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 28 Aug 2004 17:00:29 -0500
"Steve C. Orr [MVP, MCSD]" <Steve@Orr.net> wrote in message
news:OTwt$bIjEHA.592@TK2MSFTNGP11.phx.gbl...
> Once a page has been rendered, any threads it created are eventually
> orphaned and become potential targets for the .net garbage collector. How
> often the garbage collector runs varies, depending on the load of your
> server & such.
>
Nope. Threads are roots. A running thread and everything it references is
safe from the garbage collector. Even if this weren't the case, the static
reference to the thread would keep it reachable and keep it from being
collected.
David
- Next message: Graeme: "Re: date format"
- Previous message: William: "Re: Session state lost after accessing database"
- In reply to: Steve C. Orr [MVP, MCSD]: "Re: seperate service thread"
- Next in thread: PJ: "Re: seperate service thread"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|