RTOS Question:
Download Questions PDF

What is task spawn in vxworks?

Answer:

Task Spawn is used to create a thread in VXworks.
Once the thread is created than only we can make all the suspended,delete,resume operations.
Syntax
taskSpawn(char *name,int priority,int option,int stacksize,FUNCPTR entrypoint,int avg1,avg2....avg10)

1. name: task name examp: task1
2. priority: 0-255 //0---high, 255---low
3.options: 0 most of the times
4.FUNCPTR: It jumps to function we are calling examp; (FUNCPTR)fun1
5.avg1--avg10: almost 0 every time

Download Real-Time Operating System (RTOS) Interview Questions And Answers PDF

Previous QuestionNext Question
Where is AD Database held what other folders are
related to AD?
Write a code to connect Hardware interrupt to ISR?