diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-09-25 07:46:43 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-09-25 07:46:43 +0000 |
| commit | a226e865036e2744446fe31cc6a75fef25efd4b5 (patch) | |
| tree | d5795a6d01b6125c50a6010a850f4c0a8da55040 /docs/modules | |
| parent | eeb1515e9fd093e4a9797abac25ca657e1e35dc3 (diff) | |
| parent | c5ce02b30e488aade19f9f859425aa127d085b92 (diff) | |
Merge #961
961: Parameterize Signal with RawMutex r=ivmarkov a=ivmarkov
The `RawMutex` parameter is deliberately chosen to be the second one, so as it can take as a default `CriticalSectionRawMutex`. This way backwards compatibility is preserved, and users utilizing the `critical-section` crate everywhere can just continue to use the more ergonomic single-generic-parameter version of Signal.
I'm thinking we should probably do the same for `Channel`, and move the `RawMutex` parameter as the last one in the list, with a `CriticalSectionRawMutex` being its default. But that's a backwards-incompatible change of course.
Co-authored-by: ivmarkov <[email protected]>
Diffstat (limited to 'docs/modules')
0 files changed, 0 insertions, 0 deletions
