- Timestamp:
- Jan 30, 2013 3:55:32 PM (12 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r44469 r44472 646 646 r3/posix/RTPathUserDocuments-posix.cpp \ 647 647 r3/posix/pipe-posix.cpp \ 648 r3/po six/poll-posix.cpp \648 r3/poll.cpp \ 649 649 r3/posix/process-posix.cpp \ 650 650 r3/posix/process-creation-posix.cpp \ … … 801 801 r3/posix/path2-posix.cpp \ 802 802 r3/posix/pipe-posix.cpp \ 803 r3/po six/poll-posix.cpp \803 r3/poll.cpp \ 804 804 r3/posix/process-posix.cpp \ 805 805 r3/posix/process-creation-posix.cpp \ … … 866 866 r3/posix/RTPathUserDocuments-posix.cpp \ 867 867 r3/posix/pipe-posix.cpp \ 868 r3/po six/poll-posix.cpp \868 r3/poll.cpp \ 869 869 r3/posix/process-posix.cpp \ 870 870 r3/posix/process-creation-posix.cpp \ … … 925 925 r3/posix/RTPathUserDocuments-posix.cpp \ 926 926 r3/posix/pipe-posix.cpp \ 927 r3/po six/poll-posix.cpp \927 r3/poll.cpp \ 928 928 r3/posix/process-posix.cpp \ 929 929 r3/posix/process-creation-posix.cpp \ … … 999 999 r3/posix/pathhost-posix.cpp \ 1000 1000 r3/posix/pipe-posix.cpp \ 1001 r3/po six/poll-posix.cpp \1001 r3/poll.cpp \ 1002 1002 r3/posix/process-posix.cpp \ 1003 1003 r3/posix/process-creation-posix.cpp \ -
trunk/src/VBox/Runtime/r3/poll.cpp
r44469 r44472 275 275 pThis->paPollFds[i].revents = 0; 276 276 277 intrc = poll(&pThis->paPollFds[0], pThis->cHandles,278 279 280 277 rc = poll(&pThis->paPollFds[0], pThis->cHandles, 278 cMillies == RT_INDEFINITE_WAIT || cMillies >= INT_MAX 279 ? -1 280 : (int)cMillies); 281 281 if (rc == 0) 282 282 return VERR_TIMEOUT; -
trunk/src/VBox/Runtime/r3/posix/pipe-posix.cpp
r40102 r44472 36 36 #include <iprt/err.h> 37 37 #include <iprt/mem.h> 38 #include <iprt/poll.h> 38 39 #include <iprt/string.h> 39 40 #include <iprt/thread.h> … … 55 56 #endif 56 57 58 #include "internal/pipe.h" 59 57 60 58 61 /******************************************************************************* … … 668 671 } 669 672 673 674 int rtPipePollGetHandle(RTPIPE hPipe, uint32_t fEvents, PRTHCINTPTR phNative) 675 { 676 RTPIPEINTERNAL *pThis = hPipe; 677 AssertPtrReturn(pThis, VERR_INVALID_HANDLE); 678 AssertReturn(pThis->u32Magic == RTPIPE_MAGIC, VERR_INVALID_HANDLE); 679 680 AssertReturn(!(fEvents & RTPOLL_EVT_READ) || pThis->fRead, VERR_INVALID_PARAMETER); 681 AssertReturn(!(fEvents & RTPOLL_EVT_WRITE) || !pThis->fRead, VERR_INVALID_PARAMETER); 682 683 *phNative = pThis->fd; 684 return VINF_SUCCESS; 685 } 686
Note:
See TracChangeset
for help on using the changeset viewer.