Skip to content

Commit

Permalink
epoll song
Browse files Browse the repository at this point in the history
  • Loading branch information
angrave committed Apr 11, 2024
1 parent ae0da3e commit 3ef11b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _docs/networking_mp.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ So why would we ever want to use edge triggered behavior? Well, consider what ha

Edge triggered mode (together with the `EPOLLONESHOT` flag) guarantees that a single thread will handle all the data that arrived on that given socket, so (although with some additional code complexity) it's not possible that two threads accidentally 'steal' the file descriptor data from each other.

The above overiew is also available as a [song]](../media/epoll-edgelevel.mp3) ([lyrics](../media/epoll-edgelevel.txt)) introduction.

**Note**: You **must** use `epoll()` for this assignment. If you do not, you will get a 0 on all tests that use your server.

## The Problem
Expand Down

0 comments on commit 3ef11b6

Please sign in to comment.