For example , the following code would create a green thread for each of the runnable objects , and these green threads will share the lightweight process represented by the 例如,下面的代码会为每个runnable对象创建一个绿色线程,这些绿色线程会共享由
Among them , openmp , which brings competitive performance as lightweight processes , is considered as a better choice than posix threads and mpi 分析结果认为,使用openmp实现的并行程序,在性能上与使用轻量级进程的实现相当,优于使用posix线程和mpi的实现。
Interface can be used to define a solaris - like " green thread " that must explicitly yield control to other green threads running on the same lightweight process 接口可以用于定义一个solaris式的“绿色线程” ,此线程必需能把控制权转给运行在相同轻便进程中的其它绿色线程。
Objects as green threads , you can expand the java programming language s existing syntax to support multiple green threads bound to a single lightweight process simply by passing several 对象,就可以扩展java编程语言的现有语法,以支持在一个单一轻便线程有多个绿色线程。
I suggest that the java programming language has gone too far in simplifying the threading model , and that the posix solaris notion of a " green thread " and a " lightweight process " discussed in chapter 1 of taming java threads should be supported by the java programming language 我认为java编程语言在简化线程模型上走得太远了,并且java编程语言应支持posix / solaris的“绿色( green )线程”和“轻便( lightweight )进程”概念(在“ (
Also , the relactions between the best block size for matrix transpose and the size and associativity of the processor ' s cache is formulized . for parallel optimization , several programming models available on a numa system , such as lightweight processes ( sproc ) , posix threads , openmp and mpi , are compared , and their speedup and coding complexity are analyzed 对于sar成像处理的并行优化,本文对比了在numa架构上可用的几种并行编程模型:轻量级进程、 posix线程、 openmp和mpi ,针对numa架构和sar成像处理的特点从加速比、编程复杂度等多个方面进行了讨论。