Commit Graph

301 Commits

Author SHA1 Message Date
joan2937 34b33c3bf3 V68+: Merge branch 'plugwash-master' 2018-11-09 08:49:53 +00:00
Peter Michael Green 2988acaaa6 Make "make uninstall" uninstall all man pages. 2018-11-09 00:32:38 +00:00
Peter Michael Green 4277ff6d19 Make DESTDIR option to make install and make uninstall actually work. 2018-11-09 00:30:58 +00:00
Peter Michael Green 6a0ba4bd9e Add soversion to shared libraries. 2018-11-09 00:02:56 +00:00
joan bb352d2000 V68 2018-10-21 09:34:40 +01:00
joan 04d87539ba V67+: Merge branch 'bennuttall-bennuttall-pi-repr' 2018-10-21 09:30:14 +01:00
joan f99a4c7224 Merge branch 'bennuttall-pi-repr' of https://github.com/bennuttall/pigpio into bennuttall-bennuttall-pi-repr 2018-10-21 09:29:59 +01:00
joan fe4a2675aa V67+: Merge branch 'guymcswain-keepalive' 2018-10-21 09:29:11 +01:00
joan f0beff07ea Merge branch 'keepalive' of https://github.com/guymcswain/pigpio into guymcswain-keepalive 2018-10-21 09:28:53 +01:00
joan 06c74e759c V67+: Merge branch 'guymcswain-reportedLevels' 2018-10-21 09:28:05 +01:00
joan 3a403c353d Merge branch 'reportedLevels' of https://github.com/guymcswain/pigpio into guymcswain-reportedLevels 2018-10-21 09:27:40 +01:00
joan 407a36ce06 V67+: Merge branch 'Noviv-master' 2018-10-21 09:26:11 +01:00
joan 388a13ab02 Merge branch 'master' of https://github.com/Noviv/pigpio into Noviv-master 2018-10-21 09:25:14 +01:00
joan 3e90383499 V67+: tided up I2C/SPI documentation 2018-10-21 08:54:37 +01:00
Ben Nuttall 559bb73802 Add repr to pi class 2018-10-08 11:20:13 +01:00
Guy McSwain 7708dcb364 enable SO_KEEPALIVE and SO_REUSEADDR on sockets 2018-09-17 15:33:22 -05:00
Guy McSwain 1101ce4d5e Update reportedLevels prior to monitoring bits 2018-09-17 13:32:43 -05:00
Noviv ea55169407 Added CMakeLists for shared libraries, executables, and (un)install 2018-03-30 15:57:56 -05:00
joan 934874be2f V67: use with for Python locks, show_errors flag 2018-03-20 18:39:50 +00:00
joan 424ce5af6a V67: #160 buffer size to 512, improved active test 2018-03-13 13:38:58 +00:00
joan eafa0b1d66 V67: #198 added process exit codes for pigs 2018-03-11 13:24:54 +00:00
joan e02f824fe8 V67: #201 allow space for watchdog/event reports 2018-03-01 20:49:48 +00:00
joan c734018f3c V66 2018-02-20 08:36:27 +00:00
joan e9ffe3d925 V66: #168 check commands against PI_CMD_SCRIPT 2018-02-13 22:04:21 +00:00
joan cf29b45ded V66: #133 fixed by simplifying timer loop 2018-02-13 21:39:02 +00:00
joan 5981d495cc V66: #178 update script parameters command PROCU 2018-02-13 09:14:28 +00:00
joan 1737d47747 V65 2018-02-08 21:30:08 +00:00
joan f83c93066e wave delete comments 2018-02-08 18:48:33 +00:00
joan bf390b4a2f Corrected test list argument errors 2018-02-06 18:35:49 +00:00
joan a41d63493b Issues #131 and #141 2018-02-06 16:01:45 +00:00
joan d5f32d3301 Docs plus reverse PR #164 flag meaning 2018-02-04 18:59:37 +00:00
joan 6c86386253 Merge branch 'maihde-issue-189' 2018-02-04 10:22:39 +00:00
joan 5e49e8b1a3 Merge branch 'issue-189' of https://github.com/maihde/pigpio into maihde-issue-189 2018-02-04 10:21:38 +00:00
joan e3a7548f4e Refine error handling approach 2018-02-04 10:18:55 +00:00
joan 8f7868052c Merge branch 'damienstuart-master' 2018-02-04 10:17:53 +00:00
joan 512f261db0 Merge branch 'master' of https://github.com/damienstuart/pigpio into damienstuart-master 2018-02-04 10:16:55 +00:00
joan 1df9fb3c0e Merge branch 'dbbnrl-master' 2018-02-04 10:09:56 +00:00
joan 6e6b22d885 Merge branch 'master' of https://github.com/dbbnrl/pigpio into dbbnrl-master 2018-02-04 10:09:07 +00:00
joan 3fdebbf233 Merge branch 'jonas-schievink-patch-1' 2018-02-04 10:07:16 +00:00
joan e6d510b449 Merge branch 'patch-1' of https://github.com/jonas-schievink/pigpio into jonas-schievink-patch-1 2018-02-04 10:06:51 +00:00
joan 73ade1954b Include for issue #188 and ignore various errors 2018-02-04 10:00:46 +00:00
joan 59f63d832a Merge branch 'MaitreDede-lib-signals' 2018-02-04 09:49:13 +00:00
joan 50caa7b182 maintain backward compatibility with EMBEDDED_IN_VM 2018-02-04 09:47:41 +00:00
joan 748d9cebf8 Merge branch 'lib-signals' of https://github.com/MaitreDede/pigpio into MaitreDede-lib-signals 2018-02-04 09:29:58 +00:00
joan a18943f4d3 Merge branch 'gyscos-master' 2018-02-04 09:23:09 +00:00
joan ffe443e102 Merge branch 'master' of https://github.com/gyscos/pigpio into gyscos-master 2018-02-04 09:22:25 +00:00
joan ec62750c36 Merge branch 'TheRaspyDev-master' 2018-02-04 09:12:40 +00:00
joan 847c081846 Changes by tateu 2018-02-04 09:10:22 +00:00
Michael fb081b7cf6 Address #189 ensuring socket locks are released
The code previous assume exception-free execution of critical blocks
between lock acquire() and lock release(); however, in Python exceptions
can be thrown in many situations which would then result in a dead-lock
of the entire program using pigpio.

This is resolved by using the acquire/try/finally/release pattern to
ensure that the lock is always released, even when an exception occurs.

Also addresses #186, but takes a slightly different approach by using
RLock to handle the nested lock requirement, which overall should be
safer because it handles additional situations that can cause a
deadlock.
2018-01-31 07:07:00 -05:00
Damien Stuart cc559a7e50 Ensure the lock is released if there is an exception on socket I/O. 2017-12-31 16:00:57 -05:00