Skip to content

ThreadPriority TryFrom u8 is 0..=100 whereas ThreadPriorityValue is 0..=99 (or 255) #50

Description

@neilisaac

ThreadPriority's TryFrom implementation differs from ThreadPriorityValue. It appears to be off-by-one on most platforms, and inconsistent on vxworks. It should probably delegate its implementation top ThreadPriorityValue::try_from

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions