VirtualBox

Changeset 27509 in vbox for trunk/include


Ignore:
Timestamp:
Mar 18, 2010 11:47:16 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
59012
Message:

iprt: Poll on sockets on windows (untested). RTPollSetCount -> RTPollSetGetCount.

Location:
trunk/include/iprt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/poll.h

    r26844 r27509  
    181181 * @param   hPollSet            The poll set.
    182182 */
    183 RTDECL(uint32_t) RTPollSetCount(RTPOLLSET hPollSet);
     183RTDECL(uint32_t) RTPollSetGetCount(RTPOLLSET hPollSet);
    184184
    185185/**
     
    200200    RTHANDLE Handle;
    201201    Handle.enmType = RTHANDLETYPE_PIPE;
     202    Handle.u.uInt  = 0;
    202203    Handle.u.hPipe = hPipe;
    203204    return RTPollSetAdd(hPollSet, &Handle, fEvents, id);
     
    218219    RTHANDLE Handle;
    219220    Handle.enmType   = RTHANDLETYPE_SOCKET;
     221    Handle.u.uInt    = 0;
    220222    Handle.u.hSocket = hSocket;
    221223    return RTPollSetAdd(hPollSet, &Handle, fEvents, id);
  • trunk/include/iprt/types.h

    r27497 r27509  
    14041404    RTSOCKET        hSocket;            /**< Socket handle. */
    14051405    RTTHREAD        hThread;            /**< Thread handle. */
     1406    /** Generic integer handle value.
     1407     * Note that RTFILE is not yet pointer sized, so accessing it via this member
     1408     * isn't necessarily safe or fully portable. */
     1409    RTHCUINTPTR     uInt;
    14061410} RTHANDLEUNION;
    14071411/** Pointer to a handle union. */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette