[erlang-bugs] clock_gettime stability check locked out for linux

mats cronqvist <>
Mon May 25 11:43:54 CEST 2009


Bjorn Gustavsson <> writes:

> On Wed, May 20, 2009 at 10:57 PM, Joe Williams <> wrote:
>> Can anyone give me any insight on this?
>>
>
> The original reason for disabling it, if I remember correctly, is that
> it was not reliable on multi-CPU systems, as mentioned in
>
> http://www.linuxhowtos.org/manpages/2/clock_gettime.htm

  that note is quite old;
"2004-08-06 Christoph Lameter <>, SMP note"

  also, if i read the note correctly, there is a way to test for the
condition, "clock_getcpuclockid(0) will return ENOENT to signify this
<problem>."

  I can see no trace of the config testing for this.

  mats



More information about the erlang-bugs mailing list