rts: Use always-available locking operations in pthread Itimer implementation
authorBen Gamari <ben@smart-cactus.org>
Wed, 9 Jan 2019 14:17:05 +0000 (09:17 -0500)
committerBen Gamari <ben@well-typed.com>
Mon, 14 Jan 2019 14:30:40 +0000 (09:30 -0500)
commitce11f6f25c1160262830d9670c4eaaebac37cbaf
treef084da954ef79836a9157ca7a731750afe51732c
parent7b12b3f0240321ac1ee43f14eb9c07e015022eeb
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 #16150. Use OS_ACQUIRE_LOCK and OS_RELEASE_LOCK
instead.
rts/posix/itimer/Pthread.c