Click here to Skip to main content
15,896,359 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how can this program work correctly Pin
«_Superman_»12-Jul-09 21:03
professional«_Superman_»12-Jul-09 21:03 
Questionc++ source code for acm 2004-2005 problems Pin
dv200912-Jul-09 13:09
dv200912-Jul-09 13:09 
AnswerRe: c++ source code for acm 2004-2005 problems Pin
Chandrasekharan P12-Jul-09 19:03
Chandrasekharan P12-Jul-09 19:03 
AnswerRe: c++ source code for acm 2004-2005 problems Pin
killabyte12-Jul-09 19:03
killabyte12-Jul-09 19:03 
AnswerRe: c++ source code for acm 2004-2005 problems Pin
santosh10313-Jul-09 0:28
santosh10313-Jul-09 0:28 
QuestionReport on Threadpool Scheduling Techniques -- Need Feedback Pin
Cyrilix12-Jul-09 11:26
Cyrilix12-Jul-09 11:26 
AnswerRe: Report on Threadpool Scheduling Techniques -- Need Feedback Pin
Stuart Dootson12-Jul-09 13:14
professionalStuart Dootson12-Jul-09 13:14 
GeneralRe: Report on Threadpool Scheduling Techniques -- Need Feedback [modified] Pin
Cyrilix12-Jul-09 14:15
Cyrilix12-Jul-09 14:15 
I don't exactly have a game plan for how I will handle fibers and waits so part of the task would be for me to see if the Windows API has any kind of built-in support for this. If I can somehow accomplish that, then I don't think the scheduling would be a problem because I can use a simple algorithm as proof-of-concept. As for the second idea, something like what you suggest will definitely be in the works. I'm actually a bit skeptical as to whether or not I'll see any major improvements here, but sometimes I surprise myself.

In terms of other languages and their concurrency approaches, that's probably something I'll want to look at if I have time, so I'll keep it in mind.

Thanks.

Edit: I gave some thought to what you said about the Ada task model vs. C++ and threads, and it seems to me like different concurrency models must still be implemented at the base with C++ or assembly. I guess the question then becomes, how do you use lower-level languages to implement a higher-level concurrency model. I think what I'm essentially trying to do here is to refine a higher-level task-based model by using something like threads.

modified on Sunday, July 12, 2009 8:23 PM

AnswerRe: Report on Threadpool Scheduling Techniques -- Need Feedback Pin
killabyte12-Jul-09 18:59
killabyte12-Jul-09 18:59 
GeneralRe: Report on Threadpool Scheduling Techniques -- Need Feedback Pin
Cyrilix12-Jul-09 19:05
Cyrilix12-Jul-09 19:05 
GeneralRe: Report on Threadpool Scheduling Techniques -- Need Feedback Pin
killabyte12-Jul-09 19:13
killabyte12-Jul-09 19:13 
Questionhello well i get a very weird error and cant fix it i know it has do to something with brackets ) Pin
nah133712-Jul-09 10:31
nah133712-Jul-09 10:31 
AnswerRe: hello well i get a very weird error and cant fix it i know it has do to something with brackets ) Pin
Stuart Dootson12-Jul-09 13:29
professionalStuart Dootson12-Jul-09 13:29 
AnswerRe: hello well i get a very weird error and cant fix it i know it has do to something with brackets ) Pin
«_Superman_»12-Jul-09 16:45
professional«_Superman_»12-Jul-09 16:45 
GeneralRe: hello well i get a very weird error and cant fix it i know it has do to something with brackets ) Pin
nah133713-Jul-09 10:50
nah133713-Jul-09 10:50 
GeneralRe: hello well i get a very weird error and cant fix it i know it has do to something with brackets ) Pin
«_Superman_»13-Jul-09 16:52
professional«_Superman_»13-Jul-09 16:52 
GeneralRe: hello well i get a very weird error and cant fix it i know it has do to something with brackets ) Pin
nah133714-Jul-09 9:57
nah133714-Jul-09 9:57 
QuestionHEAP: Heap block at 003BCB48 modified at 003BCC6C past requested size of 11c Pin
transoft12-Jul-09 8:27
transoft12-Jul-09 8:27 
AnswerRe: HEAP: Heap block at 003BCB48 modified at 003BCC6C past requested size of 11c Pin
Luc Pattyn12-Jul-09 8:36
sitebuilderLuc Pattyn12-Jul-09 8:36 
AnswerRe: HEAP: Heap block at 003BCB48 modified at 003BCC6C past requested size of 11c Pin
Stuart Dootson12-Jul-09 8:37
professionalStuart Dootson12-Jul-09 8:37 
AnswerRe: HEAP: Heap block at 003BCB48 modified at 003BCC6C past requested size of 11c Pin
Luc Pattyn12-Jul-09 9:58
sitebuilderLuc Pattyn12-Jul-09 9:58 
Questionvptr help? [modified] Pin
sam_psycho12-Jul-09 6:20
sam_psycho12-Jul-09 6:20 
AnswerRe: vptr help? Pin
Stuart Dootson12-Jul-09 8:08
professionalStuart Dootson12-Jul-09 8:08 
GeneralRe: vptr help? Pin
Graham Shanks12-Jul-09 8:36
Graham Shanks12-Jul-09 8:36 
GeneralRe: vptr help? Pin
Stuart Dootson12-Jul-09 8:46
professionalStuart Dootson12-Jul-09 8:46 

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.