Multi core (multi thread vs multi processus) imx6dl

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Multi core (multi thread vs multi processus) imx6dl

1,198件の閲覧回数
delauratfrançoi
Contributor II

Hello ,

My name is François I work with IMX6DL. I want to use the multi core.  I found several solutions:

     - Use the multi core with  the multi processus ( with the function shed_setaffinity)

     - Use the multi core with the multi thread (  with the function pthread_setaffinity_np)

What is the best solution?

PS : I saw also that we can use the libcpuset

Thanks for All Help.

Best regards

François.

ラベル(3)
1 返信

1,065件の閲覧回数
jamesbone
NXP TechSupport
NXP TechSupport

Hello Delaurat,

Very good question, as usually happens with the engineering questions,  I think it depends on the end application, what are you trying to accomplish. I think this article can help

Thinking Parallel » Blog Archive More information on pthread_setaffinity_np and sched_setaffinity - ...