The actual suspension time may be less than that requested because any caught signal will terminate the sleep() following execution of that signal’s catching routine.
而且:
Also, the suspension time may be longer than requested by an arbitrary amount because of the scheduling of other activity in the system.
{a1}文档是最好的:
而且:
因此,没有任何保证(这在过去也让我绊倒了)。您将获得5秒的延迟(大致),但实际延迟可能会比请求的延迟小一些和/或多一些
相关问题 更多 >
编程相关推荐