T
tshad
I have a Service that starts a thread that never ends.
When I stop the service from the Service Applet, does it kill the thread or
do I need to do it myself?
If it isn't killed, what happens when I start the service again.
**************************************************
Protected Overrides Sub OnStart(ByVal args() As String)
Dim theThread As Thread
theThread = New Thread(AddressOf StartThreads)
theThread.Start()
End Sub
Protected Overrides Sub OnStop()
End Sub
Private Sub StartThreads()
Dim oCredit1 As New CreditProcessor
....
End Sub
******************************************************
Thanks,
Tom
When I stop the service from the Service Applet, does it kill the thread or
do I need to do it myself?
If it isn't killed, what happens when I start the service again.
**************************************************
Protected Overrides Sub OnStart(ByVal args() As String)
Dim theThread As Thread
theThread = New Thread(AddressOf StartThreads)
theThread.Start()
End Sub
Protected Overrides Sub OnStop()
End Sub
Private Sub StartThreads()
Dim oCredit1 As New CreditProcessor
....
End Sub
******************************************************
Thanks,
Tom