Skip to content

mlock return -1 #2

@skoppe

Description

@skoppe

in securepool.d@224:
logError("Could not mlock " ~ to!string(pool_size) ~ " bytes");

mlock actually returns -1, which is weird since it is not a valid return value http://linux.die.net/man/2/mlock.

I'm running dmd v2.067 on ArchLinux in boot2docker on windows machine.

My app doesn't use the securepool so it will still compile and run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions