Description of common behavior simulation statements in the OpenGL (6)

Source: Internet
Author: User

Vi. Serial and parallel incentive statements

Begin... The end statement is used to start the serial excitation, fork... The join statement is used to start parallel incentives.

Fork... The syntax format of the join statement is as follows:

Fork: <>

Time Control 1 Action Statement 1;

...

Time Control n Action Statement N;

Join

Where fork... The statement assigned in the join block must be a register variable. Its main features are as follows:

  1. Parallel Block statements are executed at the same time.
  2. The specified latency control in Parallel Block statements is relativeProgramThe delay of the process entering the parallel block time.
  3. After all the statements in the parallel block are executed, the simulation program jumps out of the Parallel Block. The execution time of the entire Parallel Block is equal to the execution time of the statement with the longest execution time in the block.
  4. Parallel blocks and serial blocks can be nested together.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.