Enable USE_PTHREAD_FOR_ITIMER also on FreeBSD

Authored by Viktor Dukhovni <ietf-dane@dukhovni.org> on Nov 10 2019, 10:43 PM.

Description

Enable USE_PTHREAD_FOR_ITIMER also on FreeBSD

If using a pthread instead of a timer signal is more reliable, and
has no known drawbacks, then FreeBSD is also capable of supporting
this mode of operation (tested on FreeBSD 12 with GHC 8.8.1, but
no reason why it would not also work on FreeBSD 11 or GHC 8.6).

Proposed by Kevin Zhang in:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241849

(cherry picked from commit 7385674cd386e8e5df189eb991040d85b07414f5)

Details

Committed
bgamariMon, Nov 18, 11:28 AM
Parents
rGHCf0f272173999: Bump process
Branches
Unknown
Tags
Unknown
bgamari committed rGHC7390e1010511: Enable USE_PTHREAD_FOR_ITIMER also on FreeBSD (authored by Viktor Dukhovni <ietf-dane@dukhovni.org>).Mon, Nov 18, 11:28 AM