[PATCH] D42206: If kevent() is interrupted by signal (or is being debugged) and we get EINTR, retry

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 17 16:00:50 PST 2018


davide added a comment.

In https://reviews.llvm.org/D42206#979566, @vsk wrote:

> Why not take an approach similar to the one in https://reviews.llvm.org/D41008? It looks like it's possible to set up a poll loop, call signal(), and verify that the loop is still running.


Yes, that was what I had in mind.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D42206





More information about the llvm-commits mailing list