• YAMAMOTO Takashi's avatar
    use nanosleep instead of usleep · 30f3ae03
    YAMAMOTO Takashi authored
    SUSv3 says that:
    	The useconds argument shall be less than one million. If the value of
    	useconds is 0, then the call has no effect.
    and actually NetBSD's implementation rejects such a value with EINVAL.
    use nanosleep which has no such a limitation instead.
    30f3ae03
debug.c 33.4 KB