Lines Matching refs:main
17 :c:func:`main` function (if one is defined).
19 By default, the main thread uses the highest configured preemptible thread
21 threads, the main thread uses the lowest configured cooperative thread
24 The main thread is an essential thread while it is performing kernel
25 initialization or executing the application's :c:func:`main` function;
27 :c:func:`main` is not defined, or if it executes and then does a normal
28 return, the main thread terminates normally and no error is raised.
53 Writing a main() function
56 An application-supplied ``main()`` function begins executing once
59 kernel passes arguments to it and ``main(int, char **)`` can be used.
61 The following code outlines a trivial ``main(void)`` function.
66 int main(void)
86 Use the main thread to perform thread-based processing in an application