流程任务问题 [英] Process Task Problem

查看:93
本文介绍了流程任务问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我正在研究处理器,正在寻找一种管理处理器任务的c ++算法!假设我有一个二维矩阵处理器是列,任务是行,二维矩阵的值表示以秒为单位的时间间隔.有没有解决这个问题的算法?

hello everybody, am doing research on processors and am looking for a c++ algorithm that manages tasks on processors ! suppose i have a 2d matrix processors are the columns and tasks are the rows and the values of 2d matrix indicate time interval in seconds. Is there any algorithm that solves this problem? if not any idea??

推荐答案

在处理器上管理任务是什么意思?
如果您要这样做,可以使用SetThreadAffinityMask函数在特定处理器上运行特定线程.
What do you mean by managing tasks on processors?
You can run a particular thread on a specific processor by using the SetThreadAffinityMask function if that is what you''re looking to do.


这篇关于流程任务问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆