-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
assignments/parallel-firewall: Add parallel firewall assignment #121
base: main
Are you sure you want to change the base?
Conversation
8565a02
to
8648318
Compare
Published at https://cs-pub-ro.github.io/operating-systems/121/ |
Add parallel firewall assignment for the compute chapter. The goal is to introduce students to parallel programming with a single producer multiple consumer problem that uses a thread-safe ring buffer to transfer data between threads. Signed-off-by: Andrei Stan <[email protected]>
8648318
to
f6de3b5
Compare
Published at https://cs-pub-ro.github.io/operating-systems/121/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've left a suggestion for the introductory part of the statement.
Please use as much (or as little) of it as you want.
I wanted to give a bit more details about what happens in a real world scenario and how this is all dumbed down scenario using made up traffic (to not have them think they also need to do networking stuff in this assignment)
b590a68
to
59612b2
Compare
ab806f8
to
e07f264
Compare
Add more context about the assignment Signed-off-by: Anton-Fabian Patras <[email protected]>
Make checker look out for the binary to run because if the compiation failed, there won't be any. Also, use `$(MAKE)` instead of plain `make` from inside the `tests/Makefile` as that is the intended way to do it. Also 2, removing `-i` from the makefile invocation make the inner makefile fail after the first error, and adding `-` makes it not stop the outter makefile rule (i.e. also run the checker) Signed-off-by: Anton-Fabian Patras <[email protected]>
a3e9eec
to
814c01e
Compare
`__packed` only exists inside the Linux Kernel. Signed-off-by: Anton-Fabian Patras <[email protected]>
814c01e
to
b83d348
Compare
Published at https://cs-pub-ro.github.io/operating-systems/121/ |
Published at https://cs-pub-ro.github.io/operating-systems/121/ |
Published at https://cs-pub-ro.github.io/operating-systems/121/ |
Published at https://cs-pub-ro.github.io/operating-systems/121/ |
d90b2a9
to
7dc5fb0
Compare
7207fdd
to
267bfc8
Compare
Clarify the CLI arguments accepted by the `firewall` binary. Rephrase support code comment from `processes` -> `threads`. Signed-off-by: Andrei Stan <[email protected]>
267bfc8
to
5327dfa
Compare
Add parallel firewall assignment for the compute chapter.
The goal is to introduce students to parallel programming with a single producer multiple consumer problem that uses a thread-safe ring buffer to transfer data between threads.
Prerequisite Checklist
Description of changes