datdenkikniet
7178f08541
rtic-sync: add comment about why we don't return_free_slot
2025-06-18 19:19:37 +00:00
datdenkikniet
110e4cf328
rtic-sync: require channel-users to deal with non-empty channels
2025-06-18 19:19:37 +00:00
datdenkikniet
29cfd0d5f5
rtic-sync: add some tests
2025-06-18 19:19:37 +00:00
datdenkikniet
d7c6947f4e
rtic-sync: re-wrap UnsafeCell instead
2025-03-24 07:36:23 +00:00
datdenkikniet
bef2e1b9f0
rtic-sync: remove unnecessary with_mut, safety comment
2025-03-24 07:36:23 +00:00
datdenkikniet
dae55bd7e4
rtic-sync: add note about assert & update another to debug_assert
2025-03-24 07:36:23 +00:00
datdenkikniet
cf2ed6d49e
rtic-sync: add loom tests
2025-03-24 07:36:23 +00:00
datdenkikniet
b5db435501
rtic-sync: introduce loom compat layer and apply it to channel
2025-03-24 07:36:23 +00:00
datdenkikniet
1dd279e86e
rtic-sync: we have exclusive access to the free slot pointer when in drop
2025-03-23 10:47:25 +00:00
datdenkikniet
ea56cc0ce8
rtic-sync: take link if it is popped
2025-03-23 10:47:25 +00:00
datdenkikniet
e6bd03051f
rtic-sync: always wake wait_queue when attempting to return an item
...
to freeq
2025-03-16 11:19:22 +00:00
datdenkikniet
4d58d2bcd5
rtic-sync: add test validating that free queue slots are not lost on drop
2025-03-16 11:19:22 +00:00
datdenkikniet
36c574019f
rtic-sync: add explicit check for being closed
2025-03-16 11:19:22 +00:00
datdenkikniet
84c7ad186e
rtic-sync: improve comments
2025-03-16 11:19:22 +00:00
datdenkikniet
4fa3f5ddba
rtic-sync: Channel: Sender: rewriter send logic to be easier to validate
2025-03-16 11:19:22 +00:00
datdenkikniet
daf977dcff
Blah
2025-03-16 11:19:22 +00:00
datdenkikniet
e59848075d
rtic-sync: improve safety comments
2025-03-16 11:19:22 +00:00
datdenkikniet
76631309ef
rtic-sync: replacing SlotPtr is not actually safe
2025-03-16 11:19:22 +00:00
datdenkikniet
70f57c3160
rtic-sync: explicitly send an awoken Sender the slot it can use
2025-03-16 11:19:22 +00:00
datdenkikniet
0a01fde4bd
Fix #780
2025-03-12 19:04:14 +00:00
Emil Fresk
b41a10e794
Fix documentation (docs.rs) and release 2.1.2
2024-12-06 14:09:26 +01:00
Emil Fresk
3e65a83110
Fix CI with 1.80
2024-08-07 21:09:58 +02:00
Emil Fresk
2efdef6029
Fix clippy lints
2024-05-27 11:26:06 +02:00
Emil Fresk
deafcc4382
Make debug asserts into asserts to help find the issue ( #931 )
2024-05-01 18:33:42 +00:00
Emil Fresk
4a23c8d6da
rtic-sync: Remove unstable flag, and add defmt derives ( #889 )
2024-02-23 07:38:10 +00:00
Anshul Gupta
efb82b7b05
Changes make_channel! macro to accept more types ( #877 )
...
* Changes `make_channel!` macro to accept more types
Changes `type` macro argument from `path` to `ty`, allowing more complex
types like tuples, arrays, & pointers.
See https://doc.rust-lang.org/reference/types.html#type-expressions .
* Adds to `CHANGELOG.md`
2024-01-07 06:52:08 +00:00
onsdagens
2b2208e217
esp32c3 support
2023-09-27 19:50:13 +00:00
Nils Fitinghoff
609f14b1e4
ritc-sync: Fix make_channel forcing dependency into user crate
...
Before, `make_channel` assumed that `critical_section` would be
available in the namespace of the code that invoked the macro. Access
`critical_section` through `rtic-sync` instead.
2023-08-25 05:07:13 +00:00
Emil Fresk
db18c00c00
rtic-sync: Fix possible UB in make_channel!
2023-06-14 20:16:06 +02:00
datdenkikniet
dcbd7ce970
rtic-sync: smoe more docs
2023-04-15 19:19:49 +02:00
Yandrik
ef12ae6b04
refactor: re-formatted files
2023-03-15 20:17:26 +01:00
Yandrik
a071ab05b2
refactor(macro): used $crate for better interop
2023-03-15 20:04:27 +01:00
Yandrik
15b9db4c5d
refactor: re-formatted channel.rs file
2023-03-15 15:18:31 +01:00
Yandrik
f2643a0076
fix(rtic-sync): used fully qualified paths in Channel Macro
2023-03-15 14:33:29 +01:00
Emil Fresk
32b537aef6
Merge arbiter and channel into sync
2023-03-01 20:11:00 +01:00