Elamur Dictionary

goroutine

English · noun

Senses

Sense 1 · noun · corpus

corpus

A task in the Go programming language that can run alongside other tasks.

Source: Mova's open texts. Licence: cc-by-sa-4.0.

Forms and counts

Noun

  • Forms: goroutine (Number: Sing); goroutines (Number: Plur).

Usage and labels

corpus

Computing: these examples concern tasks sharing channels to send and receive information.

Examples

3 source examples.

  • The actor style can be simulated in Go by maintaining a one-to-one correspondence between goroutines and channels, but the language allows multiple goroutines to share a channel or a single goroutine to send and receive on multiple channels. — Wikipedia: Go (programming language) (Wikipedia contributors). Licence: cc-by-sa-4.0. — Mova's open texts (cc-by-sa-4.0)
  • This means that mutable objects and pointers can be shared between goroutines; see, below. — Wikipedia: Go (programming language) (Wikipedia contributors). Licence: cc-by-sa-4.0. — Mova's open texts (cc-by-sa-4.0)
  • While a standard library package featuring most of the classical concurrency control structures (mutex locks, etc.) is available, idiomatic concurrent programs instead prefer channels, which send messages between goroutines. — Wikipedia: Go (programming language) (Wikipedia contributors). Licence: cc-by-sa-4.0. — Mova's open texts (cc-by-sa-4.0)

Notes and derived forms

corpus

Sources

Mova's word records: counts from Mova's corpus index, word lists from Wiktionary and Mova's concept inventory. Licence: cc-by-sa-4.0.

Mova's open texts. Licence: cc-by-sa-4.0.

This page in Markdown https://md.dictionary.elamur.ai/free/en/english/goroutine/