Skip to content

rts/posix/GetTime.c: Use Solaris-specific gethrvtime(3) on OpenSolaris derivatives

PHO requested to merge PHO/ghc:solaris2-thread-cpu-time into master

The constant CLOCK_THREAD_CPUTIME_ID is defined in a system header but it isn't acutally usable. clock_gettime(2) always returns EINVAL.

  • are either individually buildable or squashed
  • have commit messages which describe what they do (referring to [Notes][notes] and tickets using #NNNN syntax when appropriate)
  • have added source comments describing your change. For larger changes you likely should add a [Note][notes] and cross-reference it from the relevant places.
  • add a testcase to the testsuite.
  • replace this message with a description motivating your change
Edited by PHO

Merge request reports