github.com/aykevl/tinygo@v0.5.0/src/runtime/sync.go (about)

     1  package runtime
     2  
     3  // This file contains stub implementations for internal/poll.
     4  
     5  //go:linkname semacquire internal/poll.runtime_Semacquire
     6  func semacquire(sema *uint32) {
     7  	panic("todo: semacquire")
     8  }
     9  
    10  //go:linkname semrelease internal/poll.runtime_Semrelease
    11  func semrelease(sema *uint32) {
    12  	panic("todo: semrelease")
    13  }