在线时间36 小时
UID423505
注册时间2013-3-27
NXP金币0
该用户从未签到
高级会员

- 积分
- 651
- 最后登录
- 2020-9-4
|
Prototype
source\kernel\ta_creat.c
_task_id _task_create(
_processor_number processor_number,
_mqx_uint template_index,
uint_32 parameter)
source\kernel\ta_creatb.c
_task_id _task_create_blocked(
_processor_number processor_number,
_mqx_uint template_index,
uint_32 parameter)
source\kernel\ta_creas.c
_task_id _task_create_at(
_processor_number processor_number,
_mqx_uint template_index,
uint_32 parameter,
pointer stack_ptr,
_mem_size stack_size)
Parameters
processor_number [IN] — One of the following:
processor number of the processor where the task is to be created
0 (create on the local processor)----是指处理器的号是可以在0~255随意设置吗?
template_index [IN] — One of the following:
index of the task template in the processor’s task template list to use for the child task
0 (use the task template that create_parameter defines)
parameter [IN]---有何意义???
template_index is not 0 — pointer to the parameter that MQX passes to the child task
template_index is 0 — pointer to the task template
stack_ptr [IN] — The location where the stack and TD are to be created.
stack_size [IN] — The size of the stack.
哪位大侠,能否帮我解答一下???
|
|