Skip to content
Snippets Groups Projects
  1. May 13, 2020
    • Jonathan Hanks's avatar
      Closes #63. Update the error handling code when daqd calls nice. · b8ae42ad
      Jonathan Hanks authored
      Fix the error handling code to work with how nice has been implemented for a while.  Change to clearing errno and checking it after the call as proscribed by the man page.
      b8ae42ad
    • Jonathan Hanks's avatar
      Removing unneeded GPS leap second handling code. · 95924c20
      Jonathan Hanks authored
      The daqd has carried code for at least 9 years to set the GPS leap seconds in the frameH structure that is not used, too small, and the configs where never updated.
      
      Remove the code.  Putting the correct leap second value into the FrameH structure is done by FrameCPP in the call to SetGTime.  There is no need to keep this old code around.
      
      * For now turning the set gps-leaps into a no-op in the config.
      * Removing the leap seconds field from the circular buffer
      * Removing some member variables and a helper function from daqd.
      95924c20
  2. May 11, 2020
  3. May 08, 2020
  4. May 06, 2020
  5. Apr 23, 2020
  6. Apr 14, 2020
  7. Apr 09, 2020
    • Jameson Rollins's avatar
      improve nds systemd service · 4da3efb0
      Jameson Rollins authored
      Move to using the systemd RuntimeDirectory for creating the temporary
      nds/daqd run directory in /run.  Use the new nds command line argument
      to specify the path to this directory.  The daqd and nds code (and
      example daqdrc file) are also updated to use this by default if not
      specified.
      
      This also removes the LD_BIND_NOW variable from the nds systemd unit,
      which is of unknown use by anyone anymore, and which was cargo-culted
      from the old launcher script that was apparently created before the
      advligorts used source control.
      4da3efb0
  8. Apr 08, 2020
  9. Mar 30, 2020
  10. Mar 26, 2020
    • Jonathan Hanks's avatar
      Updates to the work queues and how they are used/passed. · 66ac6b7e
      Jonathan Hanks authored
      This is to help properly track lifetimes of the work queues.
      
      Put in a wrapper around pthread_create to allow specifying an arbitrary job to run in the guise of a std::function.  This keeps the flexibility (scheduler, stack size, ...) of pthreads but gives the us the ability to call more than just a void* (*)(void*).
      
      With these changes the work queues have been moved out of object scope for both the producer and the daqd objects.  A few small static routines that were used to start worker threads in the producer/daqd are removed.
      66ac6b7e
  11. Mar 25, 2020
  12. Mar 20, 2020
  13. Mar 19, 2020
  14. Mar 18, 2020
  15. Mar 17, 2020
  16. Mar 14, 2020
  17. Jan 08, 2020
  18. Dec 07, 2019
  19. Dec 05, 2019
  20. Dec 03, 2019
  21. Dec 02, 2019
  22. Nov 22, 2019
Loading