Skip to content
Snippets Groups Projects
  1. Sep 28, 2022
  2. Sep 27, 2022
  3. Sep 26, 2022
  4. Sep 25, 2022
    • bors[bot]'s avatar
      Merge #961 · a226e865
      bors[bot] authored
      
      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: default avatarivmarkov <ivan.markov@gmail.com>
    • ivmarkov's avatar
      Remove default, reorder generic params · c5ce02b3
      ivmarkov authored
      c5ce02b3
    • ivmarkov's avatar
      Remove default, reorder generic params · 85366661
      ivmarkov authored
      85366661