Initializing Parallel Processors
/* Allocate Parallel Processors in Master Processor code*/
mp_res_alloc_pps(resource, 1, 4) /* Alloc 4 PPs */
/* Determine how the job is to be divided */.../* Set up each Parallel Processor */
for(PP = 0; PP < NumPPS; PP++)
/* Get Parallel Processor number */
PPNum = mp_res_ppnum(resource, PP);
/* Pass parameters to this Parallel Processor through its internal RAM */
mp_res_arg_pp(resource, PP, (void*) Param[PP]);
/* Tell Parallel Processor which function to execute */
mp_res_set_entry_point(resource, PP, PP_func);