1. 03 4月, 2020 1 次提交
  2. 01 4月, 2020 3 次提交
  3. 31 3月, 2020 1 次提交
    • P
      Fast interrupt handling (#914) · d4f9c0d9
      Patrick Grawehr 提交于
      * Special overload for the SysFsDriver when used as child of the Raspi driver
      
      Removed unneccessary delays and status handling for
      pins inside the SysFsDriver when the Raspi driver
      is the main driver. This can now handle interrupts
      with frequencies of several khz.
      
      Includes a test, but this is not reliable
      
      * Check whether the test fails due to missing thread priority
      
      * Code cleanup
      
      * It seems to work without the extra priority now
      
      I don't really understand why it seems to be all fine now, though.
      
      * This part is unnecessary
      
      That's the documented way of reading the new value,
      but we're not using the result here and open the value file
      later again in the Read() function.
      
      * Avoid the same error text in multiple places
      
      * Read out actual new value of pin after interrupt
      
      This fixes #925
      
      * Add separate member for actual event observed
      
      Note that the Windows implementation already returned the actual event type,
      while the Linux implementation returned the desired event type(s).
      
      * Remove Pin status validation from Driver class, done by controller
      
      Keep track of which pins are in use by SysFs
      
      * Remove unused method
      
      PinMode is never set trough SysFs driver any more
      
      * Return detected event correctly in all cases (#925)
      
      ... but use the existing member, as discussed.
      
      * Avoid issues with missing permissions
      
      * Keep track of which events are active
      
      Like this, if the edge mode is not both, we do know
      for sure which one we saw
      
      * Fix typo
      
      * This test fails sometimes.
      
      Maybe due to an event on another line?
      
      * The AddCallbackFallingEdgeNotDetectedTest requires some extra code to be reliable
      
      Sometimes, an additional event is triggered when registering the event,
      causing the test to fail (because an event is seen where none is expected)
      
      * Cleanup
      
      * Ensure LibGpiodDriver is thread safe
      
      And allow repeatedly opening the same pin
      
      * This test may get an additional event as well
      
      * This test should now work against all drivers
      
      It only seems to fail on Windows, reason currently unknown
      
      * Review findings
      
      - Remove useless sysFsInitializationLock
      - Replace Dictionary with Array (size is known)
      - Rename "SysFs" with "Interrupt", as the driver can now
        also be libgpiod
      
      * Check why Windows test is failing (temporary)
      
      * Make Windows test pass (eventually?)
      
      * Don't know why this takes longer
      
      * Remove lock for Read/Write/SetPinMode operations
      
      Can be done when using ConcurrentDictionary
      
      * Use explicit type
      
      * Don't use static ctor
      
      * Remove unnecessary property, change type
      
      * Read pin state immediately
      
      Right after an eventual wait, if required.
      
      * See comment and bug #1028
      d4f9c0d9
  4. 25 3月, 2020 1 次提交
  5. 24 3月, 2020 3 次提交
  6. 21 3月, 2020 1 次提交
  7. 20 3月, 2020 1 次提交
  8. 19 3月, 2020 1 次提交
  9. 18 3月, 2020 2 次提交
  10. 14 3月, 2020 1 次提交
  11. 13 3月, 2020 2 次提交
  12. 12 3月, 2020 1 次提交
  13. 11 3月, 2020 1 次提交
  14. 10 3月, 2020 1 次提交
  15. 07 3月, 2020 2 次提交
  16. 06 3月, 2020 1 次提交
  17. 05 3月, 2020 1 次提交
  18. 04 3月, 2020 1 次提交
  19. 03 3月, 2020 1 次提交
  20. 29 2月, 2020 1 次提交
  21. 28 2月, 2020 1 次提交
  22. 27 2月, 2020 1 次提交
  23. 26 2月, 2020 3 次提交
  24. 25 2月, 2020 1 次提交
  25. 22 2月, 2020 3 次提交
  26. 20 2月, 2020 1 次提交
  27. 19 2月, 2020 1 次提交
    • D
      [master] Update dependencies from dotnet/arcade (#981) · 01c1d69f
      dotnet-maestro[bot] 提交于
      * Update dependencies from https://github.com/dotnet/arcade build 20200214.5
      
      - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20114.5
      - Microsoft.DotNet.GenAPI - 5.0.0-beta.20114.5
      - Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.20114.5
      
      * Update dependencies from https://github.com/dotnet/arcade build 20200215.1
      
      - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20115.1
      - Microsoft.DotNet.GenAPI - 5.0.0-beta.20115.1
      - Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.20115.1
      
      * Update dependencies from https://github.com/dotnet/arcade build 20200216.1
      
      - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20116.1
      - Microsoft.DotNet.GenAPI - 5.0.0-beta.20116.1
      - Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.20116.1
      
      * Update dependencies from https://github.com/dotnet/arcade build 20200217.3
      
      - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20117.3
      - Microsoft.DotNet.GenAPI - 5.0.0-beta.20117.3
      - Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.20117.3
      01c1d69f
  28. 15 2月, 2020 1 次提交
  29. 14 2月, 2020 1 次提交