Add locking #1

Merged
hippoz merged 1 commit from hiimgoodpack/aps:master into master 2020-11-30 01:24:31 +02:00
Contributor

Creates a lock file to help avoid accidentally running multiple sessions of the package manager at one time.

This can help with avoiding race conditions.

Note that this likely won't completely stop someone from running the package manager multiple times at once, since checking for a lock file and adding it is a race condition by itself. However, the system administrator shouldn't try to exploit race conditions anyways.

Creates a lock file to help avoid accidentally running multiple sessions of the package manager at one time. This can help with avoiding race conditions. Note that this likely won't completely stop someone from running the package manager multiple times at once, since checking for a lock file and adding it is a race condition by itself. However, the system administrator shouldn't try to exploit race conditions anyways.
hippoz merged commit ee0e1f5f86 into master 2020-11-30 01:24:31 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: alnux/aps#1
No description provided.