VirtualBox

Changeset 25523 in vbox


Ignore:
Timestamp:
Dec 20, 2009 4:45:30 PM (15 years ago)
Author:
vboxsync
Message:

tstRTSemRW: comment about pseudo random.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTSemRW.cpp

    r25521 r25523  
    6262static DECLCALLBACK(int) Test4Thread(RTTHREAD ThreadSelf, void *pvUser)
    6363{
    64     // Use randomization to get a little more variation of the sync pattern
     64    /* Use randomization to get a little more variation of the sync pattern.
     65       We use a pseudo random generator here so that we don't end up testing
     66       the speed of the /dev/urandom implementation, but rather the read-write
     67       semaphores. */
    6568    int rc;
    6669    RTRAND hRand;
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