[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] TeXmacs using 45% cpu when idle?
From: |
François Poulain |
Subject: |
Re: [Texmacs-dev] TeXmacs using 45% cpu when idle? |
Date: |
Wed, 27 May 2015 19:59:09 +0200 |
Hi,
Le Wed, 27 May 2015 09:12:13 +0200,
Miguel de Benito Delgado <address@hidden> a écrit :
> This is due to some recent hack to fix CPU issues on some systems and
> some implementations of usleep() (I guess).
I don't know what is done with usleep and since when, but it should be
replaced by nanosleep. In the usleep manpage (linux), you can read :
"POSIX.1-2001 declares this function obsolete; use nanosleep(2)
instead. POSIX.1-2008 removes the specification of usleep()."
François
--
François Poulain <address@hidden>