Using locking is not acceptable in case of "bug" in port driver.
So you have to lock other processes by opening a device file, but file locking is unacceptable. .
Well, you can change the device file to some non-standard, so trying to open / dev / ttyS0 will not move your toes on your toes.
No comments:
Post a Comment