Skip to content
Snippets Groups Projects

Draft: Work on #66, trying to remove race conditions while classifying channels

  1. Oct 12, 2023
    • Jonathan Hanks's avatar
      Updating the ca sdf code to remove a deadlock condition. · 51b084d2
      Jonathan Hanks authored
       * Reworked how CA data is subscribed and consumed.
       * Removed the caTable, caConnTable, caConnEnumTable, caEvid arrays.
       * Added a single table caInputTable that is the only thing that the connection/subscription callbacks interact with.
       * Removed unused logic and mutexes around the caThreadState variable.
      
       Now the callbacks operate only on the caInputTable.  This table is synced to the cdTable (main data table) once a cycle via the syncCAConnections call.  Mutexes are not held while creating CA channels or subscriptions.  Fine grained locking is being used (per PV).
      51b084d2
  2. Oct 10, 2023
Loading