Skip to content

docs: Enhance examples with categories and create Getting Started guide #653

Description

@kcenon

What

Standardize example code with categorized structure, add Doxygen documentation tags, and create a Getting Started guide for thread_system.

Why

thread_system has 10+ examples but they lack consistent categorization. Users need a guided path from basic thread pool usage through advanced features like DAG scheduling, work stealing, and autoscaling. The Getting Started guide bridges the gap between the API reference and practical usage.

Where

File Action
examples/ Reorganize into categories, add Doxygen tags
docs/GETTING_STARTED.md Create (new)
docs/API_QUICK_REFERENCE.md Create (new)

How

1. Categorize Examples

examples/
├── basic/           # Thread pool creation, simple job submission
├── configuration/   # Typed queues, autoscaler policies
├── advanced/        # DAG scheduling, work stealing, hazard pointers
├── integration/     # Logger integration, executor adapters
└── stress_test/     # Load testing and benchmarks

2. Add Doxygen tags (@example, @brief, @section, @see)

3. Create Getting Started guide (prerequisites → install → first thread pool → job submission → advanced features)

4. Create API Quick Reference (thread pool creation, job submission, DAG scheduling, autoscaler config)

Acceptance Criteria

  • Examples reorganized into categories with Doxygen tags
  • Getting Started guide with step-by-step thread pool tutorial
  • API Quick Reference cheat sheet
  • Examples compile in CI

Related

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationpriority:mediumMedium priority issue

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions