Why we need nested Arc ?
RamType0 opened this issue · comments
We have Arc<WaitHandle>
both in WaitHandleSignaler
and WaitHandleListener
.
Then WaitHandle has Arc<(Mutex<bool>, Condvar)>
.
Nested Arc seems to be meaningless, why is that?
neither Mutex
or Condvar
is clonable