mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 19:17:47 +00:00
15 lines
280 B
Go
15 lines
280 B
Go
//go:build scheduler.threads
|
|
|
|
package task
|
|
|
|
// Atomics implementation for non-cooperative systems (multithreaded, etc).
|
|
// These atomic types use real atomic instructions.
|
|
|
|
import "sync/atomic"
|
|
|
|
type (
|
|
Uintptr = atomic.Uintptr
|
|
Uint32 = atomic.Uint32
|
|
Uint64 = atomic.Uint64
|
|
)
|