Click here to Skip to main content
16,005,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Application.DoEvents () = WIN32 API ? Pin
amitmistry_petlad 17-Apr-07 23:50
amitmistry_petlad 17-Apr-07 23:50 
GeneralRe: Application.DoEvents () = WIN32 API ? Pin
kakan18-Apr-07 0:32
professionalkakan18-Apr-07 0:32 
GeneralRe: Application.DoEvents () = WIN32 API ? Pin
amitmistry_petlad 18-Apr-07 1:01
amitmistry_petlad 18-Apr-07 1:01 
GeneralRe: Application.DoEvents () = WIN32 API ? Pin
kakan18-Apr-07 1:15
professionalkakan18-Apr-07 1:15 
GeneralRe: Application.DoEvents () = WIN32 API ? Pin
amitmistry_petlad 18-Apr-07 1:21
amitmistry_petlad 18-Apr-07 1:21 
QuestionCSemaphore Question Pin
softwaremonkey17-Apr-07 20:57
softwaremonkey17-Apr-07 20:57 
AnswerRe: CSemaphore Question Pin
Roger Stoltz17-Apr-07 21:30
Roger Stoltz17-Apr-07 21:30 
AnswerRe: CSemaphore Question Pin
Mark Salsbery18-Apr-07 6:58
Mark Salsbery18-Apr-07 6:58 
I agree with Roger 100%. Using a semaphore this way is very efficient.

The only thing additional that comes to mind (that you may/probably have considered) is the
possibility of reaching the maximum count on the semaphore object. This needs to be addressed
when calling ReleaseSemaphore, otherwise you could (depending on the worker thread
implementation) end up with queued data that the worker thread will never know about.

Mark


"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

GeneralRe: CSemaphore Question Pin
softwaremonkey18-Apr-07 7:58
softwaremonkey18-Apr-07 7:58 
GeneralRe: CSemaphore Question Pin
Roger Stoltz18-Apr-07 9:02
Roger Stoltz18-Apr-07 9:02 
GeneralRe: CSemaphore Question Pin
softwaremonkey18-Apr-07 12:52
softwaremonkey18-Apr-07 12:52 
GeneralRe: CSemaphore Question Pin
Roger Stoltz18-Apr-07 23:00
Roger Stoltz18-Apr-07 23:00 
QuestionCopying HTML page along with the images from it. [modified] Pin
Sameer_Thakur17-Apr-07 20:46
Sameer_Thakur17-Apr-07 20:46 
AnswerRe: Copying HTML page along with the images from it. Pin
Hamid_RT17-Apr-07 21:38
Hamid_RT17-Apr-07 21:38 
QuestionRetreiving content from textbox???? Pin
ashokbngr17-Apr-07 20:26
ashokbngr17-Apr-07 20:26 
AnswerRe: Retreiving content from textbox???? Pin
Programm3r17-Apr-07 20:31
Programm3r17-Apr-07 20:31 
AnswerRe: Retreiving content from textbox???? Pin
Hamid_RT17-Apr-07 21:15
Hamid_RT17-Apr-07 21:15 
QuestionSuppressing the "Missing Picture Dialog - Warning Message " Pin
sivakarthick17-Apr-07 20:23
sivakarthick17-Apr-07 20:23 
QuestionWindows Socket Link error Pin
Syamlal S Nair17-Apr-07 20:16
Syamlal S Nair17-Apr-07 20:16 
AnswerRe: Windows Socket Link error Pin
Programm3r17-Apr-07 20:20
Programm3r17-Apr-07 20:20 
GeneralRe: Windows Socket Link error Pin
Syamlal S Nair17-Apr-07 20:26
Syamlal S Nair17-Apr-07 20:26 
GeneralRe: Windows Socket Link error Pin
Programm3r17-Apr-07 20:30
Programm3r17-Apr-07 20:30 
AnswerRe: Windows Socket Link error Pin
Paresh Chitte17-Apr-07 20:20
Paresh Chitte17-Apr-07 20:20 
AnswerRe: Windows Socket Link error Pin
prasad_som17-Apr-07 20:21
prasad_som17-Apr-07 20:21 
QuestionWin32 GUI Components Pin
Programm3r17-Apr-07 20:15
Programm3r17-Apr-07 20:15 

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.