Changes between Version 24 and Version 25 of AppMultiThread


Ignore:
Timestamp:
Aug 21, 2009, 4:15:32 PM (15 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AppMultiThread

    v24 v25  
    2727 * Link the following function into your scheduler (customized as needed):
    2828{{{
    29 int app_plan(SCHEDULER_REQUEST& sreq, const char* plan_class, HOST_USAGE& hu) {
     29bool app_plan(SCHEDULER_REQUEST& sreq, const char* plan_class, HOST_USAGE& hu) {
    3030    if (!strcmp(plan_class, "par64")) {
    3131        // the following is for an app that can use anywhere
     
    5050            );
    5151        }
    52         return 0;
     52        return true;
    5353    }
    54     return PLAN_REJECT_UNKNOWN;
     54...
    5555}
    5656}}}