Using one aspect of OpenMP, code is annotated with areas in which parallelism should occur using preprocessor directives. OpenMP的一种用法是,使用预处理程序指令注释其中应该发生并行的代码。
But unlike the compiler directives used in OpenMP, Microsoft's solution is based on anonymous delegates. 不过它不像OpenMP那样,使用编译器指令标记;微软的解决方案是基于匿名委托。