Skip to content

Replace hash methods with a fileLock_t class #130

Closed
@dmed256

Description

There are currently a few steps to using the file hash locks

  • hash + tag → filename
  • Check if lock exists
  • Staleness checks
  • Hard-coded timeouts
  • Releasing locks

Making a fileLock_t class which would auto-release locks in its destructor would lead to less bugs, along with easily specifying timeouts for longer-running jobs

Metadata

Assignees

No one assigned

    Labels

    beginnerA good place to wade into OCCA developmentfeatureUse this label to request a new feature!tech debt

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions