native_synchronization 0.3.1 native_synchronization: ^0.3.1 copied to clipboard
Low level synchronization primitives built on dart:ffi.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add native_synchronization
With Flutter:
$ flutter pub add native_synchronization
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
native_synchronization: ^0.3.1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:native_synchronization/mailbox.dart';
import 'package:native_synchronization/posix.dart';
import 'package:native_synchronization/primitives.dart';
import 'package:native_synchronization/sendable.dart';
import 'package:native_synchronization/windows.dart';