proof-of-concept EINTR on darwin