Skip to content

mlockall() and friends missing from std.os.linux #24471

@jeffective

Description

@jeffective

These syscalls can prevent linux from paging your process' memory (useful for real-time applications):

  • mlock
  • mlock2
  • munlock
  • mlockall
  • munlockall

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.os-linuxstandard libraryThis issue involves writing Zig code for the standard library.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions