5 ms·
There are categories, some system calls block on timers, some block on disk io, some block on network io. But they all block, except for gettimeofday() and frie
by CyberRabbi 5y ago
There are categories, some system calls block on timers, some block on disk io, some block on network io. But they all block, except for gettimeofday() and friends.
- Dylan16807 5y agoI mean I wouldn't say gettimeofday is significantly better than getpid because your thread might switch out anyway. But sure five categories is fine, I just dislike lumping almost everything together.