Synchronize Multithreaded Printing with Mutex

# Introduction In this challenge, we will work with a typewriter program written in C, designed to print two strings in sequence. However, the current code results in chaotic output, where the letters of the two strings are randomly intermixed. The objective is to modify this code to ensure that the output is printed correctly in order. This task will involve implementing multi-threading operations, using locks, and avoiding data races. The code is located in the specified directory and needs to be modified as required.

|
60 : 00

Click the virtual machine below to start practicing