Write the function void* child (void*) that the child threads will run.

  • You have to fill in the mutex and condition portions of MessageSystem.
  • Write the function void* child (void*) that the child threads will run.
  • Finish main() to invoke and wait for the child threads.