« Philosophy
parallel\bootstrap »

Functional API

The parallel\Runtime API provides a great degree of control to the power PHP programmer, and those intimately familiar with writing applications that use parallel concurrency.

The functional API provides less control in exchange for the ability to make decisions for the programmer:

  • all executing runtimes are bootstrapped identically

  • scheduling is determined by the API, not the programmer

parallel\run() provides the guarantee that the task will begin to execute in parallel as soon as allowed by hardware and operating system constraints, without needlessly creating runtimes. For most applications the functional API should be preferred.

目次

関連キーワード:
parallel   provides   programmer   bootstrap   control   applications   runtimes   Philosophy   Runtime   degree   power   those   intimately   familiar   writing   concurrency   less   exchange   ability   make   decisions   executing   bootstrapped   identically   scheduling
関連する関数・ページ:
parallel.bootstrap   parallel-runtime.construct   parallel-channel.close   parallel-future.value   parallel-events.addchannel   parallel-events.addfuture