Click here to Skip to main content
15,892,737 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to get the android nowtime screen-picture from PC by adb ?? Pin
chehongyang11-Dec-13 19:41
chehongyang11-Dec-13 19:41 
AnswerRe: How to get the android nowtime screen-picture from PC by adb ?? Pin
Albert Holguin12-Dec-13 4:16
professionalAlbert Holguin12-Dec-13 4:16 
Questionto show an color filled object on the top of everything Pin
transoft11-Dec-13 8:34
transoft11-Dec-13 8:34 
AnswerRe: to show an color filled object on the top of everything Pin
Chris Losinger11-Dec-13 10:39
professionalChris Losinger11-Dec-13 10:39 
AnswerRe: to show an color filled object on the top of everything Pin
Albert Holguin12-Dec-13 4:19
professionalAlbert Holguin12-Dec-13 4:19 
Questionstd::swap Corruption [Answered] Pin
Skippums11-Dec-13 7:26
Skippums11-Dec-13 7:26 
AnswerRe: std::swap Corruption Pin
Skippums11-Dec-13 8:35
Skippums11-Dec-13 8:35 
QuestionQuestion About Threads Pin
AmbiguousName11-Dec-13 5:55
AmbiguousName11-Dec-13 5:55 
Hello. I have got couple of basic questions about thread. I request if they are too simple, please excuse me.

1 - By default, every thread has one megabyte of stack space. Therefore, you can create at most 2,048 threads ( copied From MSDN ). How do I maximize or minimize stack size and how do I calculate max number of threads for this stack size.

2 - Lets say I create 10 threads using CreateThread() and each of them returns a valid handle. What is the best technique to store all these handles and then use them to close/terminate those threads.

Thanks for sharing your thoughts on this one.

This world is going to explode due to international politics, SOON.

AnswerRe: Question About Threads Pin
jschell11-Dec-13 9:03
jschell11-Dec-13 9:03 
AnswerRe: Question About Threads Pin
Chris Losinger11-Dec-13 10:37
professionalChris Losinger11-Dec-13 10:37 
GeneralRe: Question About Threads Pin
Richard Andrew x6411-Dec-13 13:56
professionalRichard Andrew x6411-Dec-13 13:56 
AnswerRe: Question About Threads Pin
Albert Holguin12-Dec-13 4:25
professionalAlbert Holguin12-Dec-13 4:25 
QuestionRe: Question About Threads Pin
AmbiguousName12-Dec-13 4:58
AmbiguousName12-Dec-13 4:58 
QuestionAlways write to top of file Pin
Grahamfff11-Dec-13 1:16
Grahamfff11-Dec-13 1:16 
AnswerRe: Always write to top of file Pin
Richard MacCutchan11-Dec-13 1:53
mveRichard MacCutchan11-Dec-13 1:53 
GeneralRe: Always write to top of file Pin
Grahamfff11-Dec-13 2:33
Grahamfff11-Dec-13 2:33 
GeneralRe: Always write to top of file Pin
Richard MacCutchan11-Dec-13 2:38
mveRichard MacCutchan11-Dec-13 2:38 
GeneralRe: Always write to top of file Pin
Grahamfff11-Dec-13 4:04
Grahamfff11-Dec-13 4:04 
GeneralRe: Always write to top of file Pin
Richard MacCutchan11-Dec-13 4:57
mveRichard MacCutchan11-Dec-13 4:57 
GeneralRe: Always write to top of file Pin
enhzflep11-Dec-13 4:58
enhzflep11-Dec-13 4:58 
AnswerRe: Always write to top of file Pin
Eugen Podsypalnikov11-Dec-13 2:26
Eugen Podsypalnikov11-Dec-13 2:26 
QuestionRe: Always write to top of file Pin
David Crow11-Dec-13 5:15
David Crow11-Dec-13 5:15 
AnswerRe: Always write to top of file Pin
Grahamfff11-Dec-13 5:22
Grahamfff11-Dec-13 5:22 
GeneralRe: Always write to top of file Pin
Stefan_Lang15-Dec-13 23:23
Stefan_Lang15-Dec-13 23:23 
AnswerRe: Always write to top of file Pin
Alan Balkany11-Dec-13 5:27
Alan Balkany11-Dec-13 5:27 

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.