void *clockDecrease(void *object) { Clock *ClockObj = static_cast<Clock *>(object); while (ClockObj->isNull() == false) { Waiter(1000000); ClockObj->decreaseTimer(); } return (0); }
void main(){ createVars(); Waiter(); }/*end simulation*/