Documentation
¶
Overview ¶
Package synctest provides support for testing concurrent code.
See the testing/synctest package for function documentation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bubble ¶
type Bubble struct {
// contains filtered or unexported fields
}
A Bubble is a synctest bubble.
Not a public API. Used by syscall/js to propagate bubble membership through syscalls.
func Acquire ¶
func Acquire() *Bubble
Acquire returns a reference to the current goroutine's bubble. The bubble will not become idle until Release is called.
Click to show internal directories.
Click to hide internal directories.