native_synchronization_temp 0.4.0 native_synchronization_temp: ^0.4.0 copied to clipboard
Low level synchronization primitives built on dart:ffi. This variant is a place holder until PR 2 is merged https: //github.com/dart-lang/native_synchronization/pull/27/commits
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add native_synchronization_temp
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
native_synchronization_temp: ^0.4.0
Alternatively, your editor might support dart 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_temp/mailbox.dart';
import 'package:native_synchronization_temp/posix.dart';
import 'package:native_synchronization_temp/primitives.dart';
import 'package:native_synchronization_temp/sendable.dart';
import 'package:native_synchronization_temp/windows.dart';