Click here to Skip to main content
15,922,145 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Socket Send-Receive Synchronization Pin
Cedric Moonen17-Oct-07 0:07
Cedric Moonen17-Oct-07 0:07 
AnswerRe: Socket Send-Receive Synchronization Pin
ThatsAlok17-Oct-07 1:40
ThatsAlok17-Oct-07 1:40 
AnswerRe: Socket Send-Receive Synchronization Pin
David Crow17-Oct-07 3:43
David Crow17-Oct-07 3:43 
AnswerRe: Socket Send-Receive Synchronization Pin
led mike17-Oct-07 4:26
led mike17-Oct-07 4:26 
QuestionPrint Preview Pin
AnayKulkarni16-Oct-07 23:53
AnayKulkarni16-Oct-07 23:53 
AnswerRe: Print Preview Pin
Nelek17-Oct-07 0:13
protectorNelek17-Oct-07 0:13 
GeneralRe: Print Preview Pin
David Crow17-Oct-07 3:40
David Crow17-Oct-07 3:40 
JokeRe: Print Preview Pin
Nelek17-Oct-07 5:30
protectorNelek17-Oct-07 5:30 
GeneralRe: Print Preview Pin
ThatsAlok17-Oct-07 20:29
ThatsAlok17-Oct-07 20:29 
QuestionRe: Print Preview Pin
David Crow17-Oct-07 3:42
David Crow17-Oct-07 3:42 
QuestionMake Main Thread sleep [modified] Pin
GauranG Shah16-Oct-07 23:47
GauranG Shah16-Oct-07 23:47 
AnswerRe: Make Main Thread sleep Pin
toxcct16-Oct-07 23:52
toxcct16-Oct-07 23:52 
GeneralRe: Make Main Thread sleep Pin
GauranG Shah17-Oct-07 0:11
GauranG Shah17-Oct-07 0:11 
GeneralRe: Make Main Thread sleep Pin
ThatsAlok17-Oct-07 1:24
ThatsAlok17-Oct-07 1:24 
AnswerRe: Make Main Thread sleep Pin
chandu00416-Oct-07 23:56
chandu00416-Oct-07 23:56 
AnswerRe: Make Main Thread sleep Pin
chandu00417-Oct-07 0:46
chandu00417-Oct-07 0:46 
GeneralRe: Make Main Thread sleep Pin
GauranG Shah17-Oct-07 1:40
GauranG Shah17-Oct-07 1:40 
GeneralRe: Make Main Thread sleep Pin
chandu00417-Oct-07 1:51
chandu00417-Oct-07 1:51 
GeneralRe: Make Main Thread sleep Pin
JudyL_MD17-Oct-07 1:51
JudyL_MD17-Oct-07 1:51 
GeneralRe: Make Main Thread sleep Pin
ThatsAlok17-Oct-07 2:01
ThatsAlok17-Oct-07 2:01 
GeneralRe: Make Main Thread sleep Pin
GauranG Shah17-Oct-07 2:28
GauranG Shah17-Oct-07 2:28 
GeneralRe: Make Main Thread sleep Pin
JudyL_MD17-Oct-07 2:42
JudyL_MD17-Oct-07 2:42 
GeneralRe: Make Main Thread sleep Pin
chandu00417-Oct-07 3:01
chandu00417-Oct-07 3:01 
GeneralRe: Make Main Thread sleep Pin
ThatsAlok17-Oct-07 20:30
ThatsAlok17-Oct-07 20:30 
AnswerRe: Make Main Thread sleep Pin
ThatsAlok17-Oct-07 1:30
ThatsAlok17-Oct-07 1:30 
Why you want to make Main Thread Sleep..? this is not good design. as in Sleep State main thread will process nothing. you should change you design to make MianThread do nothing instead of making it sleep.


GauranG33 wrote:
void ThreadProc(void){ fun();}


this will make your worker thread sleep not main thread. as function call is from worker thread not main thread






"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixture


cheers,
Alok Gupta
VC Forum Q&A :- I/IV
Support CRY- Child Relief and You

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.