KDOC 369: 名前付きパイプは両方オープンしてないとブロックする
この文書のステータス
- 作成
- 2025-05-06 貴島
- レビュー
- <署名>
概要
名前付きパイプは読み書き両方をオープンしてないと処理がブロックされる。
man fifo
The FIFO must be opened on both ends (reading and writing) before data can be passed. Normally, opening the FIFO blocks until the other end is opened also.
mkfifo my_pipe cat my_pipe & # 読み込み。これを実行しないと書き込みで止まる echo "aaa" > my_pipe # 書き込み
関連
なし。