الجمعة، 20 ديسمبر 2013

Setting name of initial task in a vxworks RTP

When you spawn a new vxworks task using taskSpawn, you get to set the task name:

char name = "tFooBar"; taskSpawn(name, 100, VX_FP_TASK,STACK_SIZE, foo, 0,0,0,0,0,0,0,0);

You can do this both to spawn a new task within the kernel or within an RTP. What I cant figure out is how to set the task name of the initial RTP task, which appears to always be allocated iMyRtp (assuming the RTP is MyRtp.vxe).

I cant believe this isn't possible, so what am I missing?


View the original article here

ليست هناك تعليقات:

إرسال تعليق