Skip to content

bad rwlock #8

@litlighilit

Description

@litlighilit
  • make critical_section and oyobject's readNum, writeLock does nothing if threads:off
  • fix the impl that only returns LockError when r&w, (The Reader-Writer Problem). (new module: nimpylib/rwlock)
    may ref:

ref:
https://github.com/nimpylib/npython/blob/master/Include%2Fcpython%2Fcritical_section.nim

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions