Skip to content
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

Add IO to OpenEducation methodology #75

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ topic/compute:
- 'chapters/compute/**/*'

topic/io:
- 'content/chapters/io/**/*'
- 'chapters/io/**/*'

topic/app-interact:
- 'content/chapters/app-interact/**/*'
Expand Down
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.formatOnSave": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ Now let's test this flag, as well as its opposite: `MAP_SHARED`.
Compile and run the code in `shared-memory/support/src/shared_memory.c`.

1. See the value read by the parent is different from that written by the child.
Modify the `flags` parameter of `mmap()` so they are the same.
Modify the `flags` parameter of `mmap()` so they are the same.

1. Create a semaphore in the shared page and use it to make the parent signal the child before it can exit.
Use the API defined in [`semaphore.h`](https://man7.org/linux/man-pages/man0/semaphore.h.0p.html).
Use the API defined in [`semaphore.h`](https://man7.org/linux/man-pages/man0/semaphore.h.0p.html).

**Be careful!**
The value written and read previously by the child and the parent, respectively, must not change.
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading