Click here to Skip to main content
15,904,346 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: why worker thread(non UI ) can't receive message send by PostThreadMessage Pin
JudyL_MD19-Dec-07 2:13
JudyL_MD19-Dec-07 2:13 
GeneralRe: why worker thread(non UI ) can't receive message send by PostThreadMessage Pin
Mark Salsbery19-Dec-07 7:05
Mark Salsbery19-Dec-07 7:05 
GeneralWindow TreadId Pin
nitin318-Dec-07 18:28
nitin318-Dec-07 18:28 
AnswerRe: Window TreadId Pin
Lim Bio Liong18-Dec-07 19:05
Lim Bio Liong18-Dec-07 19:05 
Questiona question about event object Pin
zengkun10018-Dec-07 18:28
zengkun10018-Dec-07 18:28 
GeneralRe: a question about event object Pin
JudyL_MD19-Dec-07 2:19
JudyL_MD19-Dec-07 2:19 
GeneralRe: a question about event object Pin
zengkun10019-Dec-07 3:26
zengkun10019-Dec-07 3:26 
GeneralRe: a question about event object Pin
JudyL_MD19-Dec-07 3:41
JudyL_MD19-Dec-07 3:41 
zengkun100 wrote:
So I think it would be dangerous to use autoreset event to synchronous threads


It all depends on how the threads are synchronized. Each has its place. Refer to the MSDN for an example that uses both. Using Event Objects[^]. Manual reset events can also cause deadlocks if a thread terminates before it signals the event. Synchronization and the avoidance of deadlocks are one of the big issues when doing multi-threading.

Judy
GeneralRe: a question about event object Pin
zengkun10019-Dec-07 3:50
zengkun10019-Dec-07 3:50 
Generalconverting bitmap to gif through MFC Pin
ias118-Dec-07 18:22
ias118-Dec-07 18:22 
Questionconverting bitmap to gif through MFC Pin
ias118-Dec-07 18:20
ias118-Dec-07 18:20 
AnswerRe: converting bitmap to gif through MFC Pin
Paresh Chitte18-Dec-07 18:56
Paresh Chitte18-Dec-07 18:56 
GeneralRe: converting bitmap to gif through MFC Pin
Hamid_RT18-Dec-07 19:27
Hamid_RT18-Dec-07 19:27 
Generalno debug info at program start Pin
subramanyeswari18-Dec-07 17:36
subramanyeswari18-Dec-07 17:36 
QuestionRe: no debug info at program start Pin
Hamid_RT18-Dec-07 19:30
Hamid_RT18-Dec-07 19:30 
GeneralRe: no debug info at program start Pin
subramanyeswari18-Dec-07 19:38
subramanyeswari18-Dec-07 19:38 
QuestionWindows Media Player CLSID for CD or DVD Pin
GrizzlyDoug18-Dec-07 12:22
GrizzlyDoug18-Dec-07 12:22 
QuestionAccess Denied when MapViewOfFile [modified] Pin
eraccn18-Dec-07 4:40
eraccn18-Dec-07 4:40 
GeneralPlease reformat your post. Pin
CPallini18-Dec-07 4:50
mveCPallini18-Dec-07 4:50 
GeneralRe: Please reformat your post. Pin
eraccn18-Dec-07 14:04
eraccn18-Dec-07 14:04 
GeneralNope. Pin
CPallini18-Dec-07 21:19
mveCPallini18-Dec-07 21:19 
GeneralRe: Access Denied when MapViewOfFile Pin
Nelek18-Dec-07 22:26
protectorNelek18-Dec-07 22:26 
AnswerRe: Access Denied when MapViewOfFile [modified] Pin
G Haranadh14-Nov-11 0:17
G Haranadh14-Nov-11 0:17 
GeneralGetting Events from an embedded HTML viewer control Pin
Dave Calkins18-Dec-07 4:06
Dave Calkins18-Dec-07 4:06 
GeneralRe: Getting Events from an embedded HTML viewer control Pin
led mike18-Dec-07 5:03
led mike18-Dec-07 5:03 

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.