Remove unneeded printf
This commit is contained in:
parent
5418f83cae
commit
fa28dec841
@ -90,7 +90,6 @@ void* trucker(void* arg) {
|
|||||||
truckWeight = 0;
|
truckWeight = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
printf("Truck %d is not full\n", id);
|
|
||||||
int time = RANDOM_WITHIN_RANGE(MIN_TRIP_TIME, MAX_TRIP_TIME, seed); // One way trip, so half the time
|
int time = RANDOM_WITHIN_RANGE(MIN_TRIP_TIME, MAX_TRIP_TIME, seed); // One way trip, so half the time
|
||||||
printf("Not full truck %d with load of %d units of mass departed. One way will take %d units of time\n", id, truckWeight, time);
|
printf("Not full truck %d with load of %d units of mass departed. One way will take %d units of time\n", id, truckWeight, time);
|
||||||
sleep(time);
|
sleep(time);
|
||||||
|
Loading…
Reference in New Issue
Block a user