The function build_list(int size) constructs a list for you. Each node has an index and a payload. The indexes are in order from one end of the list to the other, but they are not consecutive.
I have included a single threaded function scan_list that looks for the first node whose payload is strictly greater than the supplied integer parameter. Your task for this lab is to implement an improved version of scan_list that is capable of using two threads to scan the list looking for the first node whose payload is strictly larger than the specified parameter. Should it fail to find any nodes meeting the bill, it should return NULL.
You should replace the scan_list currently in the listscan.c file with your own version of the same function.
gcc listscan.c -std=c99 -lpthread
In addition, remember, you may lose points if your program is not properly structured or adequately documented. Coding guidelines are given on the course overview webpage.