Changes between Version 16 and Version 17 of AppMultiThread


Ignore:
Timestamp:
Mar 12, 2008, 4:54:04 PM (16 years ago)
Author:
Nicolas
Comment:

Const correctness on example code. I'm not sure if the other two parameters should be const...

Legend:

Unmodified
Added
Removed
Modified
  • AppMultiThread

    v16 v17  
    3232 * Link the following function into your scheduler:
    3333{{{
    34 bool app_plan(HOST& host, char* plan_class, HOST_USAGE& hu) {
     34bool app_plan(HOST& host, const char* plan_class, HOST_USAGE& hu) {
    3535    if (!strcmp(plan_class, "par16")) {
    3636        if (host.ncpus < 16) {