Changeset 58322 in vbox for trunk/src/VBox/Runtime/r3/posix
- Timestamp:
- Oct 19, 2015 7:49:26 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/localipc-posix.cpp
r58320 r58322 695 695 RT_ZERO(PollFd); 696 696 PollFd.fd = fdNative; 697 PollFd.events = POLLHUP ;697 PollFd.events = POLLHUP | POLLERR; 698 698 if (poll(&PollFd, 1, 0) <= 0) 699 699 return false; … … 980 980 if (cFds >= 1) 981 981 { 982 /* Linux 4.2.2sets both POLLIN and POLLHUP when the pipe is982 /* Linux & Darwin sets both POLLIN and POLLHUP when the pipe is 983 983 broken and but no more data to read. Google hints at NetBSD 984 984 returning more sane values (POLLIN till no more data, then
Note:
See TracChangeset
for help on using the changeset viewer.