Prior to version 6.0, only VxWorks supported the kernel runtime for tasks and did not support processes that are the traditional runtime of applications on OSs like Unix or Windows. Tasks have an entry point, which is the address of the code to execute as the task. This address corresponds to C or the build function. It may be the "main" symbol, but there are C / C ++ language assumptions about the main () function, which are not supported in the kernel environment (in particular, processing argc and argv parameters). In addition, prior to VxWorks 6.0, all tasks execute kernel code. You can imagine the kernel as a common repository of code, all linked together, and then you will see that you cannot have several characters with the same name ("main"), as this will create name conflicts.
,
. ,
()
. "" ,
- , .
,
()
. , .
(
"xxxStart", "xxx" - ,
).
VxWorks 6.0 .
, , ()
argc argv ,
( )
,
( flaky)
( ).
PAD