Skip to content
Snippets Groups Projects
  1. May 17, 2022
  2. May 16, 2022
  3. Apr 26, 2022
  4. Apr 11, 2022
  5. Mar 24, 2022
  6. Mar 18, 2022
  7. Mar 17, 2022
  8. Mar 09, 2022
  9. Mar 08, 2022
  10. Mar 07, 2022
  11. Mar 04, 2022
  12. Mar 01, 2022
  13. Feb 04, 2022
  14. Jan 27, 2022
  15. Jan 15, 2022
  16. Jan 14, 2022
  17. Jan 10, 2022
  18. Dec 17, 2021
  19. Dec 15, 2021
  20. Dec 13, 2021
  21. Dec 08, 2021
  22. Dec 06, 2021
  23. Dec 03, 2021
  24. Nov 30, 2021
  25. Nov 24, 2021
  26. Nov 20, 2021
  27. Nov 15, 2021
  28. Nov 12, 2021
  29. Nov 09, 2021
  30. Oct 28, 2021
  31. Oct 22, 2021
    • Nat Goodspeed's avatar
      SL-16220: Add LL::ThreadPool class and a "General" instance. · 11afa09e
      Nat Goodspeed authored
      ThreadPool bundles a WorkQueue with the specified number of worker threads to
      service it. Each ThreadPool has a name that can be used to locate its
      WorkQueue.
      
      Each worker thread calls WorkQueue::runUntilClose().
      
      ThreadPool listens on the "LLApp" LLEventPump for shutdown notification. On
      receiving that, it closes its WorkQueue and then join()s each of its worker
      threads for orderly shutdown.
      
      Add a settings.xml entry "ThreadPoolSizes", the first LLSD-valued settings
      entry to expect a map: pool name->size. The expectation is that usually code
      instantiating a particular ThreadPool will have a default size in mind, but it
      should check "ThreadPoolSizes" for a user override.
      
      Make idle_startup()'s STATE_SEED_CAP_GRANTED state instantiate a "General"
      ThreadPool. This is function-static for lazy initialization.
      
      Eliminate LLMainLoopRepeater, which is completely unreferenced. Any potential
      future use cases are better addressed by posting to the main loop's WorkQueue.
      
      Eliminate llappviewer.cpp's private LLDeferredTaskList class, which
      implemented LLAppViewer::addOnIdleCallback(). Make addOnIdleCallback() post
      work to the main loop's WorkQueue instead.
      11afa09e
  32. Oct 20, 2021
    • Nat Goodspeed's avatar
      SL-16220: Add a WorkQueue to be serviced by mainloop. · eda264c2
      Nat Goodspeed authored
      Make LLAppViewer::idle() call LL::WorkQueue::runFor() to dequeue and run some
      or all of the pending responses from worker threads.
      
      Add a MainWorkTime setting to specify the time slice the main loop may devote
      each frame to servicing such responses.
      eda264c2
  33. Oct 11, 2021
  34. Sep 28, 2021
  35. Sep 20, 2021
  36. Sep 17, 2021
Loading