explain the fork-joinfork-join it is primitives


Explain the fork-join?

fork-join: It is primitives in a programming language of higher level for implementing interacting processes. The syntax is as given below:

fork < label >;

join < var >;

Here < label > is a label related with several program statement, and < var > is a variable.  In a statement fork label1 causes creation of a new process which starts executing on the statement along with the label label1. Such process is concurrent with the process that executed the statement fork label-1. A join statement synchronizes the birth of a process along with the termination of one or many processes.

Fork-Join gives a functionally complete facility for control synchronization.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: explain the fork-joinfork-join it is primitives
Reference No:- TGS0276387

Expected delivery within 24 Hours