bors[bot] b265330c67
Merge #149
149: Make Producer<..., SingleCore> Send, like Consumer r=japaric a=BryanKadzban

I assume there's no reason that only multi-core Producers are marked
Send, while Consumers are not (they're pretty symmetrical).

(Context: I'm trying to use an SPSC queue on a single cortex-m0 MCU.
So I can guarantee that a SingleCore queue is safe because there is no
other core it could possibly be shared with.  The RTFM framework adds
an assert_send on the producer, since it's shared between init and an
SPI receiver interrupt.  It also adds an assert_send on the Consumer,
since it's shared between init and the I2C transmit interrupt, but that one
works since Consumer has this extra C type in the impl already.)

Co-authored-by: Bryan Kadzban <github@kadzban.net>
2020-05-04 20:20:59 +00:00
2019-04-22 21:08:26 +02:00
2019-12-17 16:36:39 +01:00
2020-05-04 20:20:59 +00:00
2020-05-04 20:59:35 +02:00
2020-05-04 20:59:35 +02:00
2017-03-05 00:30:10 -05:00
2017-03-05 00:30:10 -05:00
2018-04-23 19:54:46 +02:00

crates.io crates.io

heapless

static friendly data structures that don't require dynamic memory allocation

Documentation

Change log

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Description
Heapless, static friendly data structures
Readme 18 MiB
Languages
Rust 100%