存在的理由。
原文链接:https://blogs.msdn.microsoft.com/oldnewthing/20031208-00/?p=41583
If you look at the implementation of FlushInstructionCache on Windows 95, you’ll see that it’s just a return instruction. It doesn’t actually do anything. So why do you have to call it?
看一看Windows 95中FlushInstructionCache方法的实现,会发现它只是简单地返回一下就没了,看上去并没有做任何事。那么,为什么你还要调用它呢?
Because the act of calling it is the whole point. The control transfers implicit in calling a function suffice to flush the instruction cache on a Pentium. The function doesn’t have to do anything else; it is fact that you called a function that is important.
因为调用本身就是意义所在。通过调用这个函数,就可以隐式地在Pentium处理器上刷新指令缓存。函数本身不用做任何事,而调用这个方法本身才是最重要的。
注:所有评论将在审核通过后显示,请不要在评论内容的任何位置出现链接,否则您的评论将被自动移入回收站,且永远不会被复审。
All comments will be available after being manually reviewed, please do not include any links anywhere in your comment, otherwise your comment will be automatically deleted and are not eligible for review.