1. 25 Mar, 2021 6 commits
  2. 24 Mar, 2021 3 commits
  3. 23 Mar, 2021 1 commit
  4. 22 Mar, 2021 1 commit
    • Leander Beernaert's avatar
      Make job pools thread local · 5a850e5e
      Leander Beernaert authored
      Update job pools to be local to main thread and the job threads. This
      now also enables the JobSystem to be safely shared among threads.
      
      The only thing left is to be able to access the job system data from
      the worker threads. Trying to use the JobSystem outside of the threads
      it manages results in a MissingTLSJobPool error.
      5a850e5e
  5. 21 Mar, 2021 8 commits
  6. 20 Mar, 2021 6 commits
    • Leander Beernaert's avatar
      SavePoint · 6765bfaa
      Leander Beernaert authored
      6765bfaa
    • Leander Beernaert's avatar
      Safeguard against multiple instances · 1bd196d0
      Leander Beernaert authored
      Add additional checks to safe guard against the creation of two job
      systems on the same thread or a thread which is already assigned to an
      existing job system.
      1bd196d0
    • Leander Beernaert's avatar
      Align jobs to 64 bytes · f22bd38d
      Leander Beernaert authored
      This should be enough on most architectures to avoid avoid false sharing
      problems.
      f22bd38d
    • Leander Beernaert's avatar
      Improve Closure restrictions · c2f3b194
      Leander Beernaert authored
      All the closures that are queued in the system are meant to be executed
      only once, so we updated all the FnMut() restrictions to FnOnce(), which
      better illustrates the usage.
      
      The Sync trait on the closure is also not required since we won't be
      accessing it from multiple threads simultaneously.
      c2f3b194
    • Leander Beernaert's avatar
      Save point · 4298e22c
      Leander Beernaert authored
      4298e22c
    • Leander Beernaert's avatar
      Remove Pointers from JobHandlePrivate · 1c19c56c
      Leander Beernaert authored
      Replace JobHandlePrivate with 2 indices, one for the thread and on for
      the job position in the job pool.
      
      This change is part of larger set where we try to reduce the amount
      of unsafe code.
      1c19c56c
  7. 19 Mar, 2021 10 commits
  8. 16 Mar, 2021 5 commits