/thread

🧵 thead facilities in Go

Primary LanguageGoMIT LicenseMIT

thread PkgGoDev Go Report Card thread

Package thread provides threading facilities, such as scheduling calls on a specific thread, local storage, etc.

import "golang.design/x/thread"

Quick Start

th := thread.New()

th.Call(func() {
    // call on the created thread
})

License

MIT © 2021 The golang.design Initiative