resolved merge conflicts

This commit is contained in:
Ziad Arafat committed 2021-10-14 12:02:41 -06:00
1 parent 7577935377
commit bec51a6164
1 file changed
-10
-10
View File
@@ -1,11 +1,6 @@
// Ziad Arafat
<<<<<<< HEAD
// Created: Oct 1 2021
// Figure 1.7 in the textbook with added process forking test and shared memory
=======
// Created: Aug 31 2021
// Figure 1.7 in the textbook but with processes too.
>>>>>>> bf9e0ec509de4eee10e27dd344d6c19e20d7eceb
/**
* @brief This program will create an array of a specified size and fill it
@@ -248,14 +243,9 @@ int count3s_parallel_proc()
while (childcnt > 0) {
int pid = wait(NULL);
<<<<<<< HEAD
if (DEBUG) {
printf("Process 1 PID %d finished\n", pid);
}
=======
if (DEBUG)
printf("Process 1 PID %d finished\n", pid);
>>>>>>> bf9e0ec509de4eee10e27dd344d6c19e20d7eceb
childcnt--;
}