runtime_native_semaphores 0.0.4 copy "runtime_native_semaphores: ^0.0.4" to clipboard
runtime_native_semaphores: ^0.0.4 copied to clipboard

A library for creating and managing named semaphores in Dart using FFI across macOS, Linux, and Windows.

0.0.1 #

  • Initial release
  • See test/semaphore_test.dart for unified usage examples
  • See test/unix_named_semaphore_ffi_bindings_test.dart and test/windows_named_semaphore_ffi_bindings_test.dart for platform-specific usage examples

0.0.2 #

  • Reflect Platform Support in the README.md

0.0.3 #

  • Update README.md with more detailed usage examples, use cases, and background information/references
  • Refine directory structure for more standardized dart code organization

0.0.4 #

  • Leverage the @Native decorator to re-implement sem_open
  • Extend AbiSpecificInteger with the @AbiSpecificIntegerMapping decorator to enablemode_t architecture specific type mappings i.e. UnsignedShort on x86_64 and UnsignedLong on arm64
  • Guidance provided on this dart-sdk issue shout out to @dcharkes for the help!
6
likes
130
pub points
6%
popularity

Publisher

verified publisherruntime.dev

A library for creating and managing named semaphores in Dart using FFI across macOS, Linux, and Windows.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

ffi

More

Packages that depend on runtime_native_semaphores