[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Shared memory in bash
From: |
Peng Yu |
Subject: |
Shared memory in bash |
Date: |
Mon, 12 Apr 2021 08:46:23 -0500 |
I see that mmap can be used to share data between parent and child.
https://youtu.be/WgVSq-sgHOc?t=123
In bash, I only know a subshell can access data in the parent shell,
but not the reverse. One could use files to share data from the
subshell to the parent shell. But is there a more efficient way to do
so, such as by mmap?
--
Regards,
Peng
- Shared memory in bash,
Peng Yu <=