VirtualBox

Ignore:
Timestamp:
Jun 16, 2010 11:34:44 AM (14 years ago)
Author:
vboxsync
Message:

fileaio-solaris.cpp: Variable mixup. Fixes hang during async I/O

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/solaris/fileaio-solaris.cpp

    r29129 r30238  
    475475        port_event_t aPortEvents[AIO_MAXIMUM_REQUESTS_PER_CONTEXT];
    476476        uint_t cRequests    = cMinReqs;
    477         int cRequestsToWait = cMinReqs < AIO_MAXIMUM_REQUESTS_PER_CONTEXT ? cReqs : AIO_MAXIMUM_REQUESTS_PER_CONTEXT;
     477        int cRequestsToWait = RT_MIN(cReqs, AIO_MAXIMUM_REQUESTS_PER_CONTEXT);
    478478        int rcSol;
    479479        uint64_t StartTime;
Note: See TracChangeset for help on using the changeset viewer.

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