Differences From Artifact [666629e8be]:
- File src/OFThread.m — part of check-in [504e13cf00] at 2017-05-13 22:38:02 on branch trunk — Reduce retain + autorelease (user: js, size: 8952) [annotate] [blame] [check-ins using]
To Artifact [3b9d6bd50a]:
- File
src/OFThread.m
— part of check-in
[8e84561642]
at
2017-05-17 22:07:03
on branch trunk
— OFThread: Use unsigned int instead of useconds_t
useconds_t isn't always available and an unsigned int always satisfies
the range we require here. (user: js, size: 8921) [annotate] [blame] [check-ins using]
︙ | |||
83 84 85 86 87 88 89 | 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | - | #ifdef OF_HAVE_ATOMIC_OPS # import "atomic.h" #endif #ifdef __DJGPP__ # define lrint(x) rint(x) |
︙ | |||
213 214 215 216 217 218 219 | 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 | - + | svcSleepThread((int64_t)(timeInterval * 1000000000)); #else if (timeInterval > UINT_MAX) @throw [OFOutOfRangeException exception]; sleep((unsigned int)timeInterval); |
︙ |