mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 22:05:37 +01:00
docs and changelog
This commit is contained in:
parent
148c4b3cc0
commit
5fe2bceb6c
2 changed files with 6 additions and 0 deletions
|
|
@ -7,6 +7,10 @@ For each category, _Added_, _Changed_, _Fixed_ add new entries at the top!
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Const check for `channel::Channel` size smaller than 256 is now properly evaluated.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Un-hide lifetimes of output type in `Signal::split` to resolve a new warning.
|
- Un-hide lifetimes of output type in `Signal::split` to resolve a new warning.
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,8 @@ type WaitQueue = DoublyLinkedList<WaitQueueData>;
|
||||||
///
|
///
|
||||||
/// This channel uses critical sections, however there are extremely small and all `memcpy`
|
/// This channel uses critical sections, however there are extremely small and all `memcpy`
|
||||||
/// operations of `T` are done without critical sections.
|
/// operations of `T` are done without critical sections.
|
||||||
|
///
|
||||||
|
/// Right now, the size of the queue `N` is limited to 255 elements.
|
||||||
pub struct Channel<T, const N: usize> {
|
pub struct Channel<T, const N: usize> {
|
||||||
// Here are all indexes that are not used in `slots` and ready to be allocated.
|
// Here are all indexes that are not used in `slots` and ready to be allocated.
|
||||||
freeq: UnsafeCell<Deque<u8, N>>,
|
freeq: UnsafeCell<Deque<u8, N>>,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue