Daslang documentation Logo
0.6
  • Daslang 0.6.2 Reference Manual
  • Daslang Standard Library 0.6.2
    • 1. Introduction
    • 2. Core
    • 3. Strings
    • 4. I/O and Serialization
    • 5. Data Structures
    • 6. Algorithms and Functional
    • 7. Data Formats
    • 8. Entity Component System
    • 9. Concurrency
      • 9.1. Jobs and threads
      • 9.2. Boost package for jobs and threads
      • 9.3. Cross-context evaluation helpers
      • 9.4. Coroutines and additional generator support
      • 9.5. Async/await coroutine macros
    • 10. AST and Macros
    • 11. Annotations and Contracts
    • 12. Classes and Interfaces
    • 13. Testing and Debugging
    • 14. Code Quality and Refactoring
    • 15. Image and Font Processing
    • 16. Audio and MIDI
    • 17. Strudel (Live Coding)
Daslang documentation
  • Daslang Standard Library 0.6.2
  • 9. Concurrency
  • View page source

9. Concurrency

Job queues, coroutines, asynchronous operations, and cross-context invocation.

  • 9.1. Jobs and threads
    • 9.1.1. Handled structures
    • 9.1.2. Channel, JobStatus, Lockbox, Stream
    • 9.1.3. Queries
    • 9.1.4. Internal invocations
    • 9.1.5. Construction
      • 9.1.5.1. with_channel
      • 9.1.5.2. with_stream
    • 9.1.6. Atomic
      • 9.1.6.1. dec
      • 9.1.6.2. get
      • 9.1.6.3. inc
      • 9.1.6.4. set
  • 9.2. Boost package for jobs and threads
    • 9.2.1. Function annotations
    • 9.2.2. Invocations
    • 9.2.3. Iteration
    • 9.2.4. Passing data
      • 9.2.4.1. push
      • 9.2.4.2. push_batch
    • 9.2.5. Receiving data
      • 9.2.5.1. gather
      • 9.2.5.2. peek
      • 9.2.5.3. pop_with_timeout
      • 9.2.5.4. try_pop
    • 9.2.6. Synchronization
      • 9.2.6.1. with_wait_group
    • 9.2.7. Parallel execution
    • 9.2.8. LockBox operations
      • 9.2.8.1. set
    • 9.2.9. Internal capture details
  • 9.3. Cross-context evaluation helpers
    • 9.3.1. Function annotations
  • 9.4. Coroutines and additional generator support
    • 9.4.1. Type aliases
    • 9.4.2. Function annotations
    • 9.4.3. Call macros
    • 9.4.4. Top level coroutine evaluation
  • 9.5. Async/await coroutine macros
    • 9.5.1. Function annotations
    • 9.5.2. Awaiting
      • 9.5.2.1. await
    • 9.5.3. Running async tasks
Previous Next

© Copyright 2018-2026, Gaijin Entertainment.

Built with Sphinx using a theme provided by Read the Docs.