Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/golang-design/thread
๐งต thead facilities in Go
https://github.com/golang-design/thread
go golang thread
Last synced: 2 months ago
JSON representation
๐งต thead facilities in Go
- Host: GitHub
- URL: https://github.com/golang-design/thread
- Owner: golang-design
- License: mit
- Created: 2021-01-22T09:21:01.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-22T12:16:24.000Z (almost 4 years ago)
- Last Synced: 2024-08-03T17:20:00.903Z (5 months ago)
- Topics: go, golang, thread
- Language: Go
- Homepage: https://golang.design/x/thread
- Size: 4.88 KB
- Stars: 15
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- go-awesome - Thread
README
# thread [![PkgGoDev](https://pkg.go.dev/badge/golang.design/x/thread)](https://pkg.go.dev/golang.design/x/thread) [![Go Report Card](https://goreportcard.com/badge/golang.design/x/thread)](https://goreportcard.com/report/golang.design/x/thread) ![thread](https://github.com/golang-design/thread/workflows/thread/badge.svg?branch=main)
Package thread provides threading facilities, such as scheduling
calls on a specific thread, local storage, etc.```go
import "golang.design/x/thread"
```## Quick Start
```go
th := thread.New()th.Call(func() {
// call on the created thread
})
```## License
MIT ยฉ 2021 The golang.design Initiative