Skip to content
Snippets Groups Projects
Commit c7a46cff authored by godzie44's avatar godzie44 Committed by Konstantin D
Browse files

refactor(cbus):

- now `LCPipe::push_message` signature requires &mut self, cause write into `LCPipe` is not thread safe
- remove `oneshot::channel_on_pipe` function
- create a unique `LCPipe` instance for each `unbounded::Sender` instead of share single `LCPipe` by arc (also related to #156)
- use a weak reference on `unbounded::Waker` in `unbounded::Sender` to prevent situation when waker dropped in non cord thread
parent 71cf3d1e
No related branches found
No related tags found
1 merge request!407refactor(cbus):
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment