Develop an execution driven simulator c or java for a


Develop an execution driven simulator (C or Java) for a multiprocessor following these steps:

  • Create a process for every processor (# processors is an argument to the program).
  • In each process start executing a program using the exec() system call (for example a simple program that prints "hello I am processor nr " and the processor number.).
  • Each process exits when done.
  • The parent process should check when the children are done (i.e., the processors finished execution of their programs) and then exit.

Solution Preview :

Prepared by a verified Expert
Macroeconomics: Develop an execution driven simulator c or java for a
Reference No:- TGS01551608

Now Priced at $20 (50% Discount)

Recommended (96%)

Rated (4.8/5)