Ack with minor comment: there is no check for the return value from
sleep(), so sleep time may be shortened if interrupted by a signal.
Also, sleep() is an old function that according to man page may be
implemented using SIGALRM, which means there is a risk of interference
from other threads
osaf/services/saf/smfsv/smfd/SmfUpgradeStep.cc | 58 +++--
osaf/services/saf/smfsv/smfd/SmfUpgradeStep.hh | 8 ---
osaf/services/saf/smfsv/smfd/SmfUtils.cc | 18
osaf/services/saf/smfsv/smfd/SmfUtils.hh | 1 +
4 files changed, 26 insertions(+), 59