how to enter the task into a standby mode?

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

how to enter the task into a standby mode?

ソリューションへジャンプ
1,025件の閲覧回数
ggdggjjj
Contributor I

Hello/

I used KSDK 3 and MQX 1.2.

And i need question.

how to enter the task into a standby (Idle) mode?

0 件の賞賛
返信
1 解決策
882件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi

I think you can try the _task_block function, this function removes the active task from the task's ready queue and sets the BLOCKED bit in the STATE field of the task descriptor. The task does not run again until another task explicitly makes it ready with _task_ready()

Regards

Daniel

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
883件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi

I think you can try the _task_block function, this function removes the active task from the task's ready queue and sets the BLOCKED bit in the STATE field of the task descriptor. The task does not run again until another task explicitly makes it ready with _task_ready()

Regards

Daniel

0 件の賞賛
返信