The Old New Thing

Coca-Cola for breakfast: It's not just for computer geeks any more

It's not just orange juice for breakfast any more. Soft drinks are making inroads into the world traditionally dominated by milk, orange juice, coffee, and tea. According to the article, over one in seven people order a soft drink to accompany their breakfast. (Among people who eat at home, the rate is 2.4%.) If this trend continues, can ...

Why are process and thread IDs multiples of four?

On Windows NT-based operating systems, process and thread IDs happen always to be a multiple of four. Is this just a coincidence? Yes, it's just a coincidence, and you shouldn't rely on it since it is not part of the programming contract. For example, Windows 95 process and thread IDs were not always multiples of four. (By ...