This repo is intended to give clear examples on basic C++ OS interaction. This is essentially a good way to help college student with their operating systems class too. Is will give you C++ code example for threads/semaphores/processes/etc. I think it's a great place to start if lower level C++ and OS interaction is of interest to you.
Feel free to comment and contribute.