Skip to content

Commit e926128

Browse files
Alex-deVisteodutu
authored andcommitted
chapter/io: Restructure IO chapter
This commit restructures the IO chapter according to OpenEdu methodology. This comprises of: - refactoring and changing the order of chapters - generating support files from solution - breaking arena into smaller sections - fixing Makefiles from tasks to be self-contained Signed-off-by: Mihnea Firoiu <[email protected]> Signed-off-by: Alex Apostolescu <[email protected]>
1 parent e51d741 commit e926128

File tree

556 files changed

+10660
-12887
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

556 files changed

+10660
-12887
lines changed

.github/labeler.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ topic/compute:
88
- 'chapters/compute/**/*'
99

1010
topic/io:
11-
- 'content/chapters/io/**/*'
11+
- 'chapters/io/**/*'
1212

1313
topic/app-interact:
1414
- 'content/chapters/app-interact/**/*'

chapters/compute/copy-on-write/drills/tasks/shared-memory/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ Now let's test this flag, as well as its opposite: `MAP_SHARED`.
2424
Compile and run the code in `shared-memory/support/src/shared_memory.c`.
2525

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

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

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

chapters/compute/copy-on-write/drills/tasks/shared-memory/solution/src/utils/sock/sock_util.c

-114
This file was deleted.

chapters/compute/copy-on-write/drills/tasks/shared-memory/solution/src/utils/sock/sock_util.h

-34
This file was deleted.

chapters/compute/copy-on-write/guides/fork-faults/support/utils/sock/sock_util.c

-114
This file was deleted.

chapters/compute/copy-on-write/guides/fork-faults/support/utils/sock/sock_util.h

-34
This file was deleted.

0 commit comments

Comments
 (0)