Task parallelism: Difference between revisions

Content deleted Content added
JVM Example: remove this example: it only shows a different ''syntax'' for expressing the problem from the previous section, making it effectively an advertorial for the mentioned technology (JVM + commercial extension)
m Example: - In standard English, the apostrophe is not used to indicate plurality.
Line 26:
*In an [[SPMD]] system, both [[CPU]]s will execute the code.
*In a parallel environment, both will have access to the same data.
*The "if" clause differentiates between the CPU'sCPUs. CPU "a" will read true on the "if" and CPU "b" will read true on the "else if", thus having their own task.
*Now, both CPU's execute separate code blocks simultaneously, performing different tasks simultaneously.