https://github.com/beastwick18/bletchley
https://github.com/beastwick18/bletchley
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/beastwick18/bletchley
- Owner: Beastwick18
- License: mit
- Created: 2022-10-14T08:14:17.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-14T00:34:46.000Z (over 3 years ago)
- Last Synced: 2025-01-20T00:55:41.551Z (over 1 year ago)
- Language: C
- Size: 358 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bletchley-Park-Assignment
- This assignment is for my Operating Systems class (CSE3320)
- In this assignment, I implemented a producer/consumer multithreaded decryptor
- For this assignment, all c files were included except for `main.c`
- The program is capable of handling 1024 threads and up to 6 messages at a time
- One thread is created as the producer, which gets the next file to be decrypted and puts it on the buffer
- Up to 1024 consumer threads read from the buffer, decrypt the message, and output to a file
- This functionality is accomplished by using semaphores and mutexes to prevent deadlocking with many threads running at once