{
  "id": "go-sync-waitgroup-table",
  "kind": "table",
  "slug": "go-sync-waitgroup",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/go-sync-waitgroup/",
  "title": "A WaitGroup is a counting semaphore for waiting on a group of tasks. (cheat table)",
  "columns": [
    "topic",
    "fact",
    "source_id"
  ],
  "rows": [
    {
      "topic": "C1",
      "fact": "A WaitGroup is a counting semaphore for waiting on a group of tasks.",
      "source_id": "S1"
    },
    {
      "topic": "C2",
      "fact": "WaitGroup.Go starts a task; Wait waits until the group is done.",
      "source_id": "S1"
    },
    {
      "topic": "C3",
      "fact": "Add and Done can track work you start yourself.",
      "source_id": "S1"
    },
    {
      "topic": "C4",
      "fact": "A WaitGroup must not be copied after first use.",
      "source_id": "S2"
    },
    {
      "topic": "C5",
      "fact": "The Add and Done pattern predates WaitGroup.Go.",
      "source_id": "S2"
    }
  ],
  "related_slugs": [
    "go-goroutines",
    "go-once",
    "go-errgroup"
  ],
  "license": "CC-BY-4.0",
  "as_of": "2026-11-23",
  "status": "draft"
}
