Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    请教一下各位大佬,A33有四个核,如何用其中一核做自己的线程任务呢?有什么好方法

    其它全志芯片讨论区
    a33 多线程
    2
    2
    1311
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tigger
      tigger LV 7 last edited by

      请教一下各位大佬,A33有四个核,如何用其中一核做自己的线程任务呢?有什么好方法

      T 1 Reply Last reply Reply Quote Share 0
      • T
        AW老油条 LV 3 @tigger last edited by

        @tigger

        基本的配置有两步:

        • 把自己的优先级设置成实时进程,
        • 把cpu亲和度设置到cpu0以外的核心

        额外的还可以:

        • 把init进程的亲和度设置成cpu0,然后所有进程的cpu亲和度手动配置
        1 Reply Last reply Reply Quote Share 0
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策