https://github.com/terminalstudio/thread
Thread synchronization primitives
https://github.com/terminalstudio/thread
Last synced: about 2 months ago
JSON representation
Thread synchronization primitives
- Host: GitHub
- URL: https://github.com/terminalstudio/thread
- Owner: TerminalStudio
- Created: 2021-04-23T07:43:27.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-23T13:46:16.000Z (about 4 years ago)
- Last Synced: 2025-01-16T01:52:21.514Z (4 months ago)
- Language: Dart
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
## Usage
### Mutex
```dart
import 'package:thread/thread.dart';void main() {
final mutex = Mutex.create();
mutex.lock();
mutex.unlock();
mutex.trylock();
}
```