Given test files
Initial structs
Parse customer database into shared memory segment
Parse order database into shared memory segment
makefile
Parse category into shared memory segment
Fork consumers
Actually, store categories in local memory
Actually, store book orders in local memory
Allocate memory segment for category buffers, initialize all mutexes
Add condition variables to buffers
Main producer behavior
Producer tells consumers to end
Add shared memory cleaning script
Destroy shared memory on exit
Producer copies data, Consumer creates report
Print reports. Producer sleeps 0.5 to maintain synchronization
Replace forced wait with check
readme
Comment out debug output