Skip to content

Commit c0a8a7a

Browse files
committed
1. Complete the README.md
1 parent 8ffbbe5 commit c0a8a7a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Diff for: 9_pipe-advanced-sleep/README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1-
# pipe-simple-sleep
1+
# pipe-advanced-sleep
22

33
## Description
44

5+
This example shows a kernel module which act similar to a pipe. We used advanced sleep technology to suspend a process
6+
when its requested data is invaliable. The advanced sleep is different from simple sleep technology for that advanced
7+
sleep can give us more free to control all the details during the sleeping procedure.
8+
59
## Usage
610

11+
1. Comlile source code and load the module via `sudo ./load_module` command.
12+
2. Write to or read from `/dev/pipeX` in two distict processes. You will observe
13+
that one process would be blocked when there is no data avaible and could run
14+
again when another process read from or write to the same device.

0 commit comments

Comments
 (0)