DOTS//CORE local · not synced

m04 · Jobs · checkpoint · 6 min

Checkpoint — jobs & safety

loading…0 of 7 answered
  1. 01why

    Why is the data race feared far more than an ordinary bug, even though the underlying problem (entities are independent) isn't sequential?

  2. 02why

    A job is a struct with data fields and an Execute method. Why does that specific shape make safety checkable?

  3. 03how

    When you schedule a job that writes an array another scheduled job also uses, with no ordering declared, the job system:

  4. 04why

    In what sense is a data race 'the same question as aliasing, one level up'?

  5. 05why

    Why can ten jobs that all read the same [ReadOnly] NativeArray run simultaneously, but ten jobs writing it cannot?

  6. 06why

    You mark a container [ReadOnly] to get concurrent readers, then write to it through a stashed pointer inside the job. What happens?

  7. 07what

    Who owns the worker threads, and what do you provide?

your notes

stored in this browser · syncs when you sign in

m04.l03