Changeset 856

Show
Ignore:
Timestamp:
07/28/07 18:50:42 (1 year ago)
Author:
allenb
Message:

Fix bug in sleep function. Millisecond to Nanosecond conversion was invalid.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/fcptr_stable_jun07/Source/Base/Base/OSGBaseFunctions.inl

    r627 r856  
    26352635 
    26362636    req.tv_sec  = static_cast<long> (millisecs / 1000); 
    2637     req.tv_nsec = static_cast<long>((millisecs % 1000) * 1000); 
     2637    req.tv_nsec = static_cast<long>((millisecs % 1000) * 1000 * 1000); 
    26382638 
    26392639    while((req.tv_sec > 0 || req.tv_nsec > 0) &&