Skip to content

Handling Locking... #27

Description

@tesneddon

I recently found out, via this Twitter message:
image

that this SQLite3 port had made it into the latest Python. Given someone is actually looking at it I have begun to investigate a proper solution to the SYSLCK privilege issue and was hoping that @hb-- might be able to provide some input.

At this point I was thinking of using $SETPRV to try enabling SYSLCK and based on the return status create a system-wide lock or not. However, what I don't like is that this would fail silently if system-wide locking was wanted, but there was insufficient privs.

Another thought was a logical that specified which type of lock to use.

There was a HAVE_SYSLCK patch submitted by @hb--, but my only disagreement with this is that the library has to be recompiled. I would like to provide binary install kits as well as source.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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