rlee287 / pyautoupdate

An auto-update API for Python programs. ARCHIVED: The update mechanism here contains no guarantees about code integrity. You may want to look at TUF (The Update Framework) instead.
GNU Lesser General Public License v2.1
14 stars 2 forks source link

Use Lock instead of Event for update signaling #23

Closed rlee287 closed 7 years ago

rlee287 commented 7 years ago

Feature Request

Description of feature: Lock instead of Event

Rationale for feature: Updates should not occur unless code is not running. This mutual exclusion (mutex) is exactly what a Lock is designed for.

Retroactive issue creation: Issue #22 should technically occur after this

rlee287 commented 7 years ago

Currently working in #24, potential problems with version.txt that are also being fixed in this branch.

rlee287 commented 7 years ago

The .queue mechanism still needs work.