semaphorus 0.2.1

Atomic semaphores
Documentation
  • Coverage
  • 66.67%
    14 out of 21 items documented0 out of 16 items with examples
  • Size
  • Source code size: 21.21 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 521.96 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Raspberry1111

semaphorus

This crate adds syncronous semaphores to rust.

This is different from like the semaphore crate because

  1. semaphorus supports #![no_std]
  2. semaphorus doesn't use Arc under the hood and behaves more like RwLock<T>, this does require the semaphores to be in an Arc for multithreading as they don't implement clone