Type Definition run_shell::ShellChildArc
source · [−]pub type ShellChildArc = Arc<RwLock<Option<ShellChildCore>>>;Expand description
Arc holding ShellChildCore.
This is a combination of the following types.
Arcto make it accessbile by mutliple threads. (e.g. the thread launched theShellChildCoreand the thread sending a signal viaShellHandle.RwLocktosignal()whilewait_null()is blocking. Bothsignal()andwait_null()reguires the read lock which can be obtained by multiple threads at the same time.Optionto enable totake()ownership ofShellChildCoreto inovkewait().