<div dir="ltr">sleep_for is currently implemented by calculating an appropriate timespec from a chrono::nanoseconds and passing the result to nanosleep.<div><br></div><div>However, signals may result in nanosleep returning with only some of the requested sleeping performed.</div>
<div><br></div><div>Utilize nanosleep's "time-remaining" out parameter to continue sleeping when this occurs.</div></div>