Click here to Skip to main content
15,889,992 members
Home / Discussions / C#
   

C#

 
GeneralRe: Help in Database Connection Pin
Saiyed Alam30-May-08 1:54
Saiyed Alam30-May-08 1:54 
GeneralRe: Help in Database Connection Pin
Harvey Saayman30-May-08 1:58
Harvey Saayman30-May-08 1:58 
GeneralRe: Help in Database Connection Pin
Saiyed Alam30-May-08 16:22
Saiyed Alam30-May-08 16:22 
AnswerRe: Help in Database Connection Pin
Ashfield30-May-08 1:35
Ashfield30-May-08 1:35 
GeneralRe: Help in Database Connection Pin
Saiyed Alam30-May-08 16:30
Saiyed Alam30-May-08 16:30 
Questionerror stop a Windows service Pin
George_George29-May-08 21:45
George_George29-May-08 21:45 
AnswerRe: error stop a Windows service Pin
Zoltan Balazs29-May-08 21:51
Zoltan Balazs29-May-08 21:51 
GeneralRe: error stop a Windows service Pin
George_George29-May-08 21:58
George_George29-May-08 21:58 
Hi Zoltan,


I have tried with Join(500), still failed. My worker thread is very simple,

it looks like. Any ideas?

The main thread will set stop status, then join the worker thread.

while (true)
{
    // do some work
    // Sleep one second
    // check stop set? if true, then break
}



regards,
George
GeneralRe: error stop a Windows service Pin
leppie29-May-08 22:05
leppie29-May-08 22:05 
GeneralRe: error stop a Windows service Pin
George_George29-May-08 23:22
George_George29-May-08 23:22 
GeneralRe: error stop a Windows service Pin
leppie29-May-08 23:55
leppie29-May-08 23:55 
GeneralRe: error stop a Windows service Pin
George_George30-May-08 0:03
George_George30-May-08 0:03 
GeneralRe: error stop a Windows service Pin
Zoltan Balazs29-May-08 22:08
Zoltan Balazs29-May-08 22:08 
GeneralRe: error stop a Windows service Pin
George_George29-May-08 23:21
George_George29-May-08 23:21 
AnswerRe: error stop a Windows service Pin
#realJSOP29-May-08 23:22
mve#realJSOP29-May-08 23:22 
GeneralRe: error stop a Windows service Pin
George_George29-May-08 23:38
George_George29-May-08 23:38 
GeneralRe: error stop a Windows service Pin
#realJSOP30-May-08 0:41
mve#realJSOP30-May-08 0:41 
GeneralRe: error stop a Windows service Pin
George_George31-May-08 1:27
George_George31-May-08 1:27 
QuestionByte to Bool Array Pin
half-life29-May-08 21:08
half-life29-May-08 21:08 
AnswerRe: Byte to Bool Array Pin
leppie29-May-08 21:58
leppie29-May-08 21:58 
GeneralRe: Byte to Bool Array Pin
half-life29-May-08 22:41
half-life29-May-08 22:41 
GeneralRe: Byte to Bool Array Pin
Guffa30-May-08 0:39
Guffa30-May-08 0:39 
Questiondll... load another version... Pin
JoZ CaVaLLo29-May-08 21:08
JoZ CaVaLLo29-May-08 21:08 
AnswerRe: dll... load another version... Pin
leppie29-May-08 21:59
leppie29-May-08 21:59 
GeneralRe: dll... load another version... Pin
JoZ CaVaLLo30-May-08 0:05
JoZ CaVaLLo30-May-08 0:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.