Clone repository
Before you continue, you must clone the threads-synchronization-deadlock repository.
Use the git command
From the terminal, navigate to a directory where you want the cloned directory to be created and execute the following command.
git clone https://github.com/os-assignments/threads-synchronization-deadlock.gitNow you should see something similar to this in the terminal.
Cloning into 'threads-synchronization-deadlock'...
remote: Counting objects: 23, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 23 (delta 1), reused 23 (delta 1), pack-reused 0
Unpacking objects: 100% (23/23), done.Use the tree command
To get an overview of the cloned repository, use the tree -d command.
tree -d threads-synchronization-deadlockNow you should see a tree view of the directory strucure.
threads-synchronization-deadlock
├── examples
│   ├── bin
│   ├── obj
│   └── src
├── higher-grade
│   ├── bin
│   ├── obj
│   └── src
└── mandatory
│   ├── bin
│   ├── obj
│   ├── psem
│   └── src
└── psem
14 directories Install tree on macOS
If you run macOS and tree is not installed, use Homebrew to install tree.
brew install tree