bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32452: 26.1; gnutls_try_handshake maxes out cpu retrying when server


From: Noam Postavsky
Subject: bug#32452: 26.1; gnutls_try_handshake maxes out cpu retrying when server is a bit busy
Date: Mon, 20 Aug 2018 20:52:58 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> nanosleep isn't portable though right?
>
> We could use usleep instead, it's part of Posix, AFAIK.  And MinGW has
> it as well, AFAICT.  Sorry I didn't mention it in the first place.

My usleep(3) man page says it's obsolete:

    CONFORMING TO
           4.3BSD,  POSIX.1-2001.   POSIX.1-2001  declares  this  function  
obsolete;  use  nanosleep(2)
           instead.  POSIX.1-2008 removes the specification of usleep().





reply via email to

[Prev in Thread] Current Thread [Next in Thread]