Click here to Skip to main content
15,888,579 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalmemory allocation in C Pin
ravingcoder2-Sep-03 4:31
ravingcoder2-Sep-03 4:31 
GeneralRe: memory allocation in C Pin
hph2-Sep-03 4:35
hph2-Sep-03 4:35 
GeneralRe: memory allocation in C Pin
jason992-Sep-03 4:36
jason992-Sep-03 4:36 
GeneralRe: memory allocation in C Pin
Maximilien2-Sep-03 4:38
Maximilien2-Sep-03 4:38 
GeneralRe: memory allocation in C Pin
ravingcoder2-Sep-03 5:55
ravingcoder2-Sep-03 5:55 
GeneralWaitForMultipleObjects( ) and thread object Pin
Jin Yao2-Sep-03 4:16
Jin Yao2-Sep-03 4:16 
GeneralRe: WaitForMultipleObjects( ) and thread object Pin
David Crow2-Sep-03 7:50
David Crow2-Sep-03 7:50 
GeneralRe: WaitForMultipleObjects( ) and thread object Pin
Jin Yao2-Sep-03 15:18
Jin Yao2-Sep-03 15:18 
At the first time, thread1 terminates and WaitForMultipleObjects() returns the WAIT_OBJECT_0 + 0. The state of thread1 object is set to signaled.

When the thread2 ends, the thread2 object will also be set to signaled.
but at that time, the state of thread1 object is already signaled. So WaitForMultipleObjects() still returns the WAIT_OBJECT_0 + 0 not WAIT_OBJECT_0 + 1.

I wish WaitForMultipleObjects() can return the WAIT_OBJECT_0 + 1 when
thread2 ends.

Thanks

GeneralRe: WaitForMultipleObjects( ) and thread object Pin
Scott H. Settlemier3-Sep-03 10:31
Scott H. Settlemier3-Sep-03 10:31 
GeneralC++ and X-10 or Cebus Pin
Braulio Dez2-Sep-03 3:38
Braulio Dez2-Sep-03 3:38 
GeneralFormatting thousands Pin
BadJerry2-Sep-03 3:26
BadJerry2-Sep-03 3:26 
GeneralRe: Formatting thousands Pin
Michael Dunn2-Sep-03 4:33
sitebuilderMichael Dunn2-Sep-03 4:33 
GeneralRe: Formatting thousands Pin
BadJerry2-Sep-03 4:44
BadJerry2-Sep-03 4:44 
Generalsave changes in Edit Control Pin
Member 3971372-Sep-03 3:21
Member 3971372-Sep-03 3:21 
GeneralRe: save changes in Edit Control Pin
jhwurmbach2-Sep-03 4:13
jhwurmbach2-Sep-03 4:13 
GeneralRe: save changes in Edit Control Pin
Member 3971372-Sep-03 5:07
Member 3971372-Sep-03 5:07 
GeneralRe: save changes in Edit Control Pin
jhwurmbach2-Sep-03 5:45
jhwurmbach2-Sep-03 5:45 
GeneralMaking .lib files Pin
Emilio Guijarro2-Sep-03 3:18
Emilio Guijarro2-Sep-03 3:18 
GeneralRe: Making .lib files Pin
Roger Stewart2-Sep-03 4:01
professionalRoger Stewart2-Sep-03 4:01 
QuestionHow to Create the Auto Start NT Service? Pin
Hendy_So2-Sep-03 3:07
Hendy_So2-Sep-03 3:07 
AnswerRe: How to Create the Auto Start NT Service? Pin
Xiangyang Liu 刘向阳2-Sep-03 12:25
Xiangyang Liu 刘向阳2-Sep-03 12:25 
GeneralRe: How to Create the Auto Start NT Service? Pin
Hendy_So2-Sep-03 14:33
Hendy_So2-Sep-03 14:33 
GeneralMP3 and WAV conversion Pin
jason992-Sep-03 2:45
jason992-Sep-03 2:45 
GeneralTAPI Pin
Faizi2-Sep-03 2:38
Faizi2-Sep-03 2:38 
GeneralCDateTimeCtrl question Pin
Niko Tanghe2-Sep-03 2:22
Niko Tanghe2-Sep-03 2:22 

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.