Reputation: 83
I'm not sure whether this is a correct place for me to ask, it's about Computer Architecture. But I'm desperate so please pardon me.
Does anyone understand this parallel program? I can't proceed to answer my assignment because of this.
Upvotes: 2
Views: 238
Reputation: 11
It means that Proc_1 to Proc_k execute concurrently. For example, if each needs 2 seconds to be done, the total time to execute Proc_1 to Proc_k is 2 seconds, not 2*k seconds.
Upvotes: 0
Reputation: 1095
This means that each instruction between PARBEGIN
and PAREND
should be executed in parallel and the whole block will terminate when every single proc_k
has terminated.
So in other words, the program will continue after PAREND
as soon as proc_1
to proc_k
(executed concurrently) terminated.
Upvotes: 2