We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ffbbe5 commit c0a8a7aCopy full SHA for c0a8a7a
9_pipe-advanced-sleep/README.md
@@ -1,6 +1,14 @@
1
-# pipe-simple-sleep
+# pipe-advanced-sleep
2
3
## Description
4
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
+
9
## Usage
10
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