Changeset 2530
- Timestamp:
- 08/31/07 14:12:20 (1 year ago)
- Files:
-
- trunk/lib/common/tango/core/Thread.d (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/common/tango/core/Thread.d
r2528 r2530 137 137 import tango.stdc.posix.signal; 138 138 import tango.stdc.posix.time; 139 import tango.stdc.errno; 139 140 140 141 version( GNU ) … … 776 777 timespec tout = void; 777 778 778 if( tin.tv_sec.max < i)779 if( tin.tv_sec.max < period ) 779 780 { 780 781 tin.tv_sec = tin.tv_sec.max; … … 783 784 else 784 785 { 785 tin.tv_sec = i;786 tin.tv_nsec = ( i% 1.0) * 1_000_000_000;786 tin.tv_sec = period; 787 tin.tv_nsec = (period % 1.0) * 1_000_000_000; 787 788 } 788 789












