Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

AddSCHED_DEADLINE andSCHED_NORMAL constants toos module #127688

Closed
Labels
extension-modulesC modules in the Modules dirtype-featureA feature request or enhancement
@rruuaanng

Description

@rruuaanng

Feature or enhancement

Proposal:

This issue suggests adding new os constants.

os.SCHED_DEADLINE

# deadline scheduling# Set the current schedule to real-time schedule, To be precise, it# is not real-time scheduling, but it is relatively real-time.prio = os.sched_param(sched_priority=10)os.sched_setscheduler(0, os.SCHED_DEADLINE, prio)

SCHED_NORMAL is the same asSCHED_OTHER.
But to run in the old linux, we can't removeSCHED_OTHER, even if it no longer exists in the current main branch.
But we still need to addSCHED_NORMAL, becauseSCHED_OTHER only exists in the old distribution.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    extension-modulesC modules in the Modules dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp