Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow can I get the integer value of INSERT from keyboard?? Pin
danginkgo24-Jun-08 21:20
danginkgo24-Jun-08 21:20 
AnswerRe: how can I get the integer value of INSERT from keyboard?? Pin
Steen Krogsgaard24-Jun-08 22:14
Steen Krogsgaard24-Jun-08 22:14 
GeneralRe: how can I get the integer value of INSERT from keyboard?? Pin
danginkgo24-Jun-08 22:21
danginkgo24-Jun-08 22:21 
GeneralRe: how can I get the integer value of INSERT from keyboard?? Pin
Steen Krogsgaard24-Jun-08 22:31
Steen Krogsgaard24-Jun-08 22:31 
GeneralRe: how can I get the integer value of INSERT from keyboard?? Pin
danginkgo24-Jun-08 22:55
danginkgo24-Jun-08 22:55 
QuestionCDatabase::Close is not happening Pin
SelvaKr24-Jun-08 20:48
SelvaKr24-Jun-08 20:48 
AnswerRe: CDatabase::Close is not happening Pin
Niklas L24-Jun-08 23:56
Niklas L24-Jun-08 23:56 
QuestionKill a thread after a particular period of time. Pin
dolly24-Jun-08 20:21
dolly24-Jun-08 20:21 
Hello Friends,

I am using c language.

I have a thread 'A', it does some downloading thing, and may take several minutes to complete.
So, I need another thread 'B' which will monitor thread 'A', and will kill it, if 'A' takes more than a fixed period of time, say 1 min or so.

Kindly help me in this by giving some clue or code sample.

Thanks in Advance.

Dolly, IN
AnswerRe: Kill a thread after a particular period of time. Pin
_AnsHUMAN_ 24-Jun-08 20:30
_AnsHUMAN_ 24-Jun-08 20:30 
GeneralRe: Kill a thread after a particular period of time. Pin
dolly24-Jun-08 20:34
dolly24-Jun-08 20:34 
GeneralRe: Kill a thread after a particular period of time. Pin
CPallini24-Jun-08 21:42
mveCPallini24-Jun-08 21:42 
QuestionRe: Kill a thread after a particular period of time. Pin
dolly24-Jun-08 22:26
dolly24-Jun-08 22:26 
AnswerRe: Kill a thread after a particular period of time. Pin
CPallini24-Jun-08 22:41
mveCPallini24-Jun-08 22:41 
GeneralRe: Kill a thread after a particular period of time. Pin
KASR124-Jun-08 23:00
KASR124-Jun-08 23:00 
QuestionRe: Kill a thread after a particular period of time. Pin
CPallini24-Jun-08 23:53
mveCPallini24-Jun-08 23:53 
AnswerRe: Kill a thread after a particular period of time. Pin
KASR124-Jun-08 23:59
KASR124-Jun-08 23:59 
GeneralRe: Kill a thread after a particular period of time. Pin
_AnsHUMAN_ 25-Jun-08 0:52
_AnsHUMAN_ 25-Jun-08 0:52 
GeneralRe: Kill a thread after a particular period of time. Pin
_AnsHUMAN_ 24-Jun-08 22:24
_AnsHUMAN_ 24-Jun-08 22:24 
GeneralRe: Kill a thread after a particular period of time. Pin
dolly24-Jun-08 23:30
dolly24-Jun-08 23:30 
GeneralRe: Kill a thread after a particular period of time. Pin
SandipG 25-Jun-08 0:15
SandipG 25-Jun-08 0:15 
GeneralRe: Kill a thread after a particular period of time. Pin
dolly25-Jun-08 1:13
dolly25-Jun-08 1:13 
GeneralRe: Kill a thread after a particular period of time. Pin
dolly25-Jun-08 18:34
dolly25-Jun-08 18:34 
QuestionRe: Kill a thread after a particular period of time. Pin
dolly25-Jun-08 18:34
dolly25-Jun-08 18:34 
GeneralRe: Kill a thread after a particular period of time. Pin
CPallini25-Jun-08 5:16
mveCPallini25-Jun-08 5:16 
GeneralRe: Kill a thread after a particular period of time. Pin
dolly25-Jun-08 17:47
dolly25-Jun-08 17:47 

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.