Changeset 6298

Show
Ignore:
Timestamp:
03/02/07 10:19:49
Author:
robert
Message:

From Robin Pedersen, fixed calculation from nsec from ms by multiplying by 1000000 instead of 1000.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • OpenThreads/trunk/pthread_src/PThreadCondition.c++

    r6096 r6298  
    156156    // Wait time is now + ms milliseconds 
    157157    unsigned int sec = ms / 1000; 
    158     unsigned int nsec = (ms % 1000) * 1000
     158    unsigned int nsec = (ms % 1000) * 1000000
    159159 
    160160    struct timespec abstime;