rts: Use always-available locking operations in pthread Itimer implementation

Authored by bgamari on Jan 9 2019, 8:17 AM.

Description

rts: Use always-available locking operations in pthread Itimer implementation

Previously we ACQUIRE_LOCK and RELEASE_LOCK but these compile to a noop in the
non-threaded RTS, as noted in Trac #16150. Use OS_ACQUIRE_LOCK and OS_RELEASE_LOCK
instead.

(cherry picked from commit ce11f6f25c1160262830d9670c4eaaebac37cbaf)

Details

Committed
bgamariJan 28 2019, 5:07 PM
Parents
rGHC7ec385f40406: itimer: Don't free condvar until we know ticker is stopped
Branches
Unknown
Tags
Unknown