Commit Graph

19 Commits

Author SHA1 Message Date
6611a7bd28 Removed stalling in producers and added assertion that should halt failing producers as a test 2022-10-26 18:24:04 -05:00
581134a3a0 Fixed bug with over 10 Producers 2022-10-15 23:08:00 -05:00
e920516382 Removed commented code and added README.md 2022-10-15 22:54:10 -05:00
8540de1cd9 Program is now fully functional 2022-10-15 22:47:12 -05:00
cbd8b5ceb0 Added comments for readability 2022-10-15 20:29:52 -05:00
898851a185 Adjusted SharedStruct and reverted semaphores. 2022-10-15 20:18:06 -05:00
0395a88a63 Added initialization of SharedStruct 2022-10-15 16:06:55 -05:00
26011d7d74 Buffer always is 0 when printing from consumer.c 2022-10-14 00:06:24 -05:00
688411c38b Producer and Consumer can both interact with shared memory 2022-10-13 23:25:16 -05:00
a22970ff41 Split program into three files, added arguments for fork amounts, and passes sharedID into forks for exec 2022-10-13 23:10:33 -05:00
8339af50c4 Added structure plans 2022-10-12 22:59:06 -05:00
20039ede09 Added cleaning to build and bin 2022-10-12 21:15:16 -05:00
9c14c717e1 Removed build files from git and added .keep to keep directories 2022-10-12 21:13:32 -05:00
e8f6618df6 Added rand() to producer 2022-10-12 21:11:15 -05:00
1b31acc926 Added .gitignore 2022-10-12 15:45:05 -05:00
b5b11c2979 Added shared struct and made code run 2022-10-12 15:44:12 -05:00
160dc9a99e Setup structure for programs 2022-10-11 20:18:38 -05:00
71b700d11e Added header files 2022-10-11 19:53:52 -05:00
e4debd05db Initial Commit 2022-10-11 19:50:07 -05:00