summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2021-12-26 08:38:05 +0200
committerGerhard Sittig <gerhard.sittig@gmx.net>2021-12-26 13:45:09 +0100
commit8c4477692114cfb1a823d847b70c8ea96caa7301 (patch)
treeff4c5965ff631addd5729e0ec4d68792e7d1a66b /HACKING
parent7395d57b3c722229d18aa70fbee7e60a60902304 (diff)
downloadlibsigrokdecode-8c4477692114cfb1a823d847b70c8ea96caa7301.tar.gz
libsigrokdecode-8c4477692114cfb1a823d847b70c8ea96caa7301.zip
ir_irmp: sigrok PD, make use of IRMP decoder core locking
Rephrase how the external IRMP library gets loaded, to provide better diagnostics to users. All decoder instances are equal after the recent introduction of locking support. Move the "reset state" call for the IRMP decoder core to the .decode() method's main loop, where the context manager holds the instance lock. This allows "parallel" execution of multiple IRMP decoders in the same sigrok application, assuming that the context manager scope will be left at some point in time. This fixes bug #1581 when applications communicate EOF to decoders. Move some Python object members to local variables. They exclusively are used within the .decode() method. Update the copyright for the non-trivial changes.
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions