Skip to content

flock does not work under QNX on files created in /dev/shmem under QNX [10619] #1766

Closed
@asobhy-qnx

Description

@asobhy-qnx

if (0 != flock(fd, LOCK_EX | LOCK_NB))

flock returns "The filesystem doesn't support the operation" due to that the file descriptor represents a file created under /dev/shmem

Can the robust lock file be created under another path? what are the consequences of creating a file in /dev/shmem and not locking it?

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