- int a;
- double time1, time2;
-
- time1 = MSG_get_clock();
- a = MSG_task_receive( &(task), mailbox);
- time2 = MSG_get_clock();
- if (a == MSG_OK) {
+ double time1 = MSG_get_clock();
+ int retcode = MSG_task_receive( &(task), mailbox);
+ double time2 = MSG_get_clock();
+ if (retcode == MSG_OK) {