index 4094064451b27ad55b3aebdb123d7b72409ddb6d..19d72b8e2b86579eb9f341378661c6fba3bda39e 100644 (file)
printf("\tDefaults: ProcId: %d\n", PROC_ID_DEFAULT);
exit(0);
}
+
+ status = Ipc_start();
+
if (procId >= MultiProc_getNumProcessors()) {
printf("ProcId must be less than %d\n", MultiProc_getNumProcessors());
+ Ipc_stop();
exit(0);
}
printf("Using procId : %d\n", procId);
- status = Ipc_start();
-
if (status >= 0) {
rmServerExchange_execute(procId);
Ipc_stop();