Thread.Sleep has it’sits use: simulating lengthy operations while testing/debugging on an MTA thread. In .NET there’s no other reason to use it. Thread.Sleep(n) means block the current thread for at least the number of timeslices (or thread quantums) that can occur within n milliseconds. The length of a timeslice is different on different versions/types of Windows and different processors and generally ranges from 15 to 30 milliseconds. This means the thread is almost guaranteed to block for more than n milliseconds. The likelihood that your thread will re-awaken exactly after n milliseconds is about as impossible as impossible can be. … Continue reading Thread.Sleep is a sign of a poorly designed program.
Stealling from Mark Twain, reports of Visual C++’s death have been greatly exaggerated. There’s been some rumours that Visual C++ and native code development have been deprecated by Microsoft. There is much work being done on the C++ side in the Orcas release. Some of the new features include: Friend Templates STLCLR Improved Vista support in MFC
Is Unified Field Theory possible? It sounds like it’s more than elusive.. I was reading about some interesting theories that our reality may simply be a perception of several different realities. Not entirely ground breaking; but, my take on it is that if our perception of these multiple realities is a side-effect of the interaction of these realities and that each reality may not follow the same rules as the other realities, can a “unified field theory” of our perception be possible? This may have some interesting effects in that it may affect how Moore’s Law can continue through discovery … Continue reading Unified Field Theory, is it Possible?