Skip to content

Use flock for exclusive serial port access on Linux #265

@Tiwalun

Description

@Tiwalun

This is a follow-up to #26, it seems that only tiocexcl is currently used, but not flock.

It would be nice to get support for flock as well, to catch more cases in which another application is already using the serial port.

I can create a PR adding support for this, if it something that would be accepted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions