github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/sync/doc.go (about)

     1  // Package sync implements synchronization primitives similar to those provided by the standard Go implementation.
     2  // These are not safe to access from within interrupts, or from another thread.
     3  // The primitives also lack any fairness guarantees, similar to channels and the scheduler.
     4  package sync