Skip to content

refactor(cbus):

Konstantin D requested to merge fix/cbus_lcpipe_race into master

Summary

  • 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 (closed))
  • use a weak reference on unbounded::Waker in unbounded::Sender to prevent situation when waker dropped in non cord thread

Ensure that

  • New code is covered by tests
  • API is documented
  • Changelog is up to date
  • Version is bumped in the appropriate Cargo.toml files

Merge request reports