Spawning

Noun · Development

Definitions

  1. The act of creating a new process, thread, or concurrent task from a parent context. On Unix, process spawning typically involves fork+exec (or posix_spawn); in async runtimes like Tokio or Go, spawning creates a lightweight goroutine or task on the runtime's thread pool.

    In plain English: Starting up a new independent worker — like a process or background task — from within a running program.

    Example: "We spawn a new goroutine for each incoming WebSocket connection so they're handled concurrently."

Related Terms