-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use flock() instead of UUCP-style locking for serial devices #1770
base: master
Are you sure you want to change the base?
Commits on Feb 7, 2022
-
Use flock() instead of UUCP-style locking for serial devices
This replaces AcquireUUCPLockAndOpen() with AcquireLockAndOpen(). Depending on a compile-time option (--enable-uucp-locking), either flock() or UUCP-style lockfiles will be used as the underlying lock mechanism. The default is flock(). The plugins using these routines have been updated.
Configuration menu - View commit details
-
Copy full SHA for b142600 - Browse repository at this point
Copy the full SHA b142600View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0556472 - Browse repository at this point
Copy the full SHA 0556472View commit details
Commits on Feb 13, 2022
-
There's not much to be gained from not compiling it.
Configuration menu - View commit details
-
Copy full SHA for dd34c1d - Browse repository at this point
Copy the full SHA dd34c1dView commit details -
RemoveLockFile -> RemoveUUCPLockFile GetLockFile -> GetUUCPLockFile
Configuration menu - View commit details
-
Copy full SHA for cf4be90 - Browse repository at this point
Copy the full SHA cf4be90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 638daf7 - Browse repository at this point
Copy the full SHA 638daf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d0cb39 - Browse repository at this point
Copy the full SHA 5d0cb39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15a299b - Browse repository at this point
Copy the full SHA 15a299bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10e4ac6 - Browse repository at this point
Copy the full SHA 10e4ac6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d195639 - Browse repository at this point
Copy the full SHA d195639View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce8f9b4 - Browse repository at this point
Copy the full SHA ce8f9b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9f2721 - Browse repository at this point
Copy the full SHA d9f2721View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ea7de4 - Browse repository at this point
Copy the full SHA 4ea7de4View commit details
Commits on Feb 19, 2022
-
Co-authored-by: Peter Newman <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6951d76 - Browse repository at this point
Copy the full SHA 6951d76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61752ab - Browse repository at this point
Copy the full SHA 61752abView commit details -
Configuration menu - View commit details
-
Copy full SHA for d45704f - Browse repository at this point
Copy the full SHA d45704fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53b8c2c - Browse repository at this point
Copy the full SHA 53b8c2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cd59a8 - Browse repository at this point
Copy the full SHA 9cd59a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e072f1 - Browse repository at this point
Copy the full SHA 3e072f1View commit details
Commits on Feb 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4bcf0f6 - Browse repository at this point
Copy the full SHA 4bcf0f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d035bde - Browse repository at this point
Copy the full SHA d035bdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 379db11 - Browse repository at this point
Copy the full SHA 379db11View commit details
Commits on Feb 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 662b6e9 - Browse repository at this point
Copy the full SHA 662b6e9View commit details
Commits on Mar 5, 2022
-
Update include/ola/io/Serial.h
Co-authored-by: Peter Newman <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b394083 - Browse repository at this point
Copy the full SHA b394083View commit details -
Co-authored-by: Peter Newman <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8ca5f34 - Browse repository at this point
Copy the full SHA 8ca5f34View commit details -
Mention flock() when saying "No unlock necessary"
Co-authored-by: Peter Newman <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 11b2f40 - Browse repository at this point
Copy the full SHA 11b2f40View commit details -
Update include/ola/io/Serial.h
Co-authored-by: Peter Newman <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ff04282 - Browse repository at this point
Copy the full SHA ff04282View commit details -
Update common/io/SerialLockTester.cpp
Co-authored-by: Peter Newman <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6138823 - Browse repository at this point
Copy the full SHA 6138823View commit details
Commits on Mar 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3d9ae1d - Browse repository at this point
Copy the full SHA 3d9ae1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fe0fa5 - Browse repository at this point
Copy the full SHA 7fe0fa5View commit details -
Split serial port locking into three separate steps
UUCP locking: performed if requested at configure time flock(): performed if the flock call is available (always?) ioctl(fd, TIOCEXCL): performed if sys/ioctl.h is available It's possible that all three will be done, but only one of them really has to work. If any of the selected methods fail, however, the port opening will be aborted.
Configuration menu - View commit details
-
Copy full SHA for f9dec96 - Browse repository at this point
Copy the full SHA f9dec96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bfe200 - Browse repository at this point
Copy the full SHA 0bfe200View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fe41fe - Browse repository at this point
Copy the full SHA 9fe41feView commit details
Commits on Mar 20, 2022
-
Clarify info message about TIOCEXCL
Co-authored-by: Peter Newman <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f60bd33 - Browse repository at this point
Copy the full SHA f60bd33View commit details -
Co-authored-by: Peter Newman <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4806d31 - Browse repository at this point
Copy the full SHA 4806d31View commit details -
Add explanatory comment to #endif
Co-authored-by: Peter Newman <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0dfa3f9 - Browse repository at this point
Copy the full SHA 0dfa3f9View commit details -
SerialLockTester: Add ".pid" to test filename
Co-authored-by: Peter Newman <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f97bc8d - Browse repository at this point
Copy the full SHA f97bc8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a528123 - Browse repository at this point
Copy the full SHA a528123View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98d4b66 - Browse repository at this point
Copy the full SHA 98d4b66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64d4943 - Browse repository at this point
Copy the full SHA 64d4943View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ada1bd - Browse repository at this point
Copy the full SHA 3ada1bdView commit details
Commits on Nov 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 277e151 - Browse repository at this point
Copy the full SHA 277e151View commit details
Commits on Nov 13, 2022
-
Apply suggestions from code review
Co-authored-by: Peter Newman <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 227a613 - Browse repository at this point
Copy the full SHA 227a613View commit details
Commits on Apr 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 185b881 - Browse repository at this point
Copy the full SHA 185b881View commit details
Commits on Oct 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a93bde9 - Browse repository at this point
Copy the full SHA a93bde9View commit details