Hacker News
points by Joker_vD 2 days ago | 0 comments
Amusingly, Win API of all places generally evades this pattern: 0 timeout means "no waiting", and to wait indefinitely, you use timeout of INFINITE which is actually UINT_MAX or, equivalently, -1 (in Win API, timeouts are unsigned, not time_t).
Aún no hay comentarios.
Hacker News