Skip to content

Commit c6490a2

Browse files
Update p1-ipcoverview.md
1 parent 8a1530a commit c6490a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lec10/p1-ipcoverview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,12 +240,12 @@ $ git clone https://github.com/rcore-os/rCore-Tutorial-v3.git
240240

241241
shell A
242242
```
243-
$ mkfifo name.fifo
244-
$ echo README > name.fifo #文件类型为p,写命名管道阻塞
243+
$ mkfifo name.fifo #创建一个名为 name.fifo 的命名管道(文件类型为 p)
244+
$ echo README > name.fifo #文件类型为p(ls -l,第一个字母p表示命名管道),写命名管道阻塞
245245
```
246246
shell B
247247
```
248-
$ cat name.fifo
248+
$ cat name.fifo #解除 Shell A 的阻塞
249249
```
250250

251251
但:字节流形态,不支持任意两个进程间的双向通信

0 commit comments

Comments
 (0)