Check with sysconf _POSIX_THREAD_CPUTIME is available before we try to use it.
authorIan Lynagh <igloo@earth.li>
Tue, 16 Jan 2007 01:29:07 +0000 (01:29 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 16 Jan 2007 01:29:07 +0000 (01:29 +0000)
commita89ac49312ff740591226f0a6fd9322f15289c62
treef6cf9d43e31759cd68fec5848651e2f9ef0ee571
parent50ebea6a8607f4d83dd2d8d99acf9a55e4d39349
Check with sysconf _POSIX_THREAD_CPUTIME is available before we try to use it.

Calling clock_gettime(CLOCK_THREAD_CPUTIME_ID,_) regardless was
causing a segfault (trac #1030).
rts/posix/GetTime.c