mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-06 03:53:42 +00:00
5 lines
300 B
Go
5 lines
300 B
Go
// Package sync implements synchronization primitives similar to those provided by the standard Go implementation.
|
|
// These are not safe to access from within interrupts, or from another thread.
|
|
// The primitives also lack any fairness guarantees, similar to channels and the scheduler.
|
|
package sync
|