Click here to Skip to main content
15,924,318 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Application always running Pin
densitet21-Apr-05 5:04
densitet21-Apr-05 5:04 
Generalcheck internet Connection VC++ Pin
Anonymous5-Apr-05 21:46
Anonymous5-Apr-05 21:46 
GeneralRe: check internet Connection VC++ Pin
Ravi Bhavnani6-Apr-05 1:48
professionalRavi Bhavnani6-Apr-05 1:48 
GeneralRe: check internet Connection VC++ Pin
David Crow6-Apr-05 3:12
David Crow6-Apr-05 3:12 
QuestionHow to get the click time of one picture in the IE contral? Pin
showjan_cn5-Apr-05 21:29
showjan_cn5-Apr-05 21:29 
QuestionHow to get AVI bit depth? Pin
uus995-Apr-05 20:37
uus995-Apr-05 20:37 
GeneralNeed help with QuickFill(), look into the code Pin
awasthy5-Apr-05 19:42
awasthy5-Apr-05 19:42 
QuestionHow to make multithreading application fast ? Pin
Amarelia5-Apr-05 19:40
Amarelia5-Apr-05 19:40 
Hi
I have developed a windows based service in C++ which runs on Windows 2000 Professional OS.

It is a multithreading service in which first it creates one master thread then it creates number of child thread in suspended mode. Now this child thread when resumed...gets the details needed....

For this I use Semaphore to synchronize the threads and WaiForSingleObject() functions to make it work properly.

It is like ....
---------------
if ( WaitForSingleObject(threadHandle,INFINITE) == WAIT_OBJECT_0 )
{
Do some work here.....
}
---------------
But some time it stucks waiting more time to finish so that new thread can start and continue working. So is there any other idea how can I make it run fast ?

Thankx in advance.



Amarelia Maehsh
Gujarat
India

AnswerRe: How to make multithreading application fast ? Pin
Blake Miller6-Apr-05 5:43
Blake Miller6-Apr-05 5:43 
QuestionIn ListCtrl, how to draw image on the tooltip? Pin
lowiq5-Apr-05 19:31
lowiq5-Apr-05 19:31 
GeneralMFC Active-X control project Pin
Member 6450675-Apr-05 19:22
Member 6450675-Apr-05 19:22 
GeneralRe: MFC Active-X control project Pin
Michael Dunn6-Apr-05 1:57
sitebuilderMichael Dunn6-Apr-05 1:57 
Questionsaving text in a file? Pin
mpallavi5-Apr-05 19:09
mpallavi5-Apr-05 19:09 
AnswerRe: saving text in a file? Pin
Cedric Moonen5-Apr-05 20:19
Cedric Moonen5-Apr-05 20:19 
GeneralRe: saving text in a file? Pin
mpallavi5-Apr-05 20:54
mpallavi5-Apr-05 20:54 
GeneralRe: saving text in a file? Pin
Cedric Moonen5-Apr-05 21:41
Cedric Moonen5-Apr-05 21:41 
GeneralRe: saving text in a file? Pin
mpallavi5-Apr-05 22:33
mpallavi5-Apr-05 22:33 
GeneralRe: saving text in a file? Pin
Cedric Moonen5-Apr-05 22:48
Cedric Moonen5-Apr-05 22:48 
GeneralRe: saving text in a file? Pin
David Crow6-Apr-05 3:17
David Crow6-Apr-05 3:17 
GeneralRe: saving text in a file? Pin
mpallavi6-Apr-05 19:28
mpallavi6-Apr-05 19:28 
GeneralRe: saving text in a file? Pin
David Crow7-Apr-05 2:14
David Crow7-Apr-05 2:14 
AnswerRe: saving text in a file? Pin
eli150219795-Apr-05 20:41
eli150219795-Apr-05 20:41 
GeneralRe: saving text in a file? Pin
mpallavi5-Apr-05 21:22
mpallavi5-Apr-05 21:22 
GeneralRe: saving text in a file? Pin
eli150219795-Apr-05 21:27
eli150219795-Apr-05 21:27 
GeneralRe: saving text in a file? Pin
mpallavi5-Apr-05 22:23
mpallavi5-Apr-05 22:23 

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.