Exercise 3: Implementing Rust's mpsc::sync_channel§

In exercise 3, you are asked to implement a C version of Rust's std::sync::mpsc::sync_channel.

The detailed specification is contained in this README.md file contained in the starter repo at https://git.cs.vt.edu/cs3214-staff/mpsc as well as in the mpsc.h header file. Run the tests with ./testall.sh

Please fork this repo and work with your clone.
Don't forget to make the clone private.

This is an individual exercise.

Submit your mpsc.c file.