Hi,
I was looking at PollArrayWrapper.c and I saw this.
#define RESTARTABLE(_cmd, _result) do { \
do { \
_result = _cmd; \
} while((_result == -1) && (errno == EINTR)); \
} while(0)
Is there a reason why this logic is wrapped in a do { …. } while(0)
Regards,
Kirk