Lines Matching +full:main +type:c

212    Return a value to the main thread. */
223 /* Called during new thread startup by main thread. Since the new
311 "stack pointer of the main thread, calls an `only' function that",
317 /* This test initializes a thread, runs it, then returns to the main
381 "if zero, aborts back to the main thread. Else it continues with",
599 thread_t main;
601 test09_main = &main;
636 "main thread, a helper that saves the main thread's stack pointer,",
638 "that calls QT_ABORT and restarts the main thread. Copies no user",
644 /* Helper function to send control back to main.
649 pointer of the main thread so we can get back there eventually. */
670 back to the main thread. Don't save any state from the thread that
695 thread_t main;
699 t->next = &main;
702 test10_init (t, &main, 0);
703 QT_BLOCKI (t_splat, &main.qt, 0, t->qt);
721 thread_t main;
725 t->next = &main;
728 test10_init (t, &main, 2 * sizeof(int), 2, 1);
729 QT_BLOCKI (t_splat, &main.qt, 0, t->qt);
746 thread_t main;
750 t->next = &main;
753 test10_init (t, &main, 4 * sizeof(int), 4, 3, 2, 1);
754 QT_BLOCKI (t_splat, &main.qt, 0, t->qt);
771 thread_t main;
775 t->next = &main;
778 test10_init (t, &main, 8 * sizeof(int), 8, 7, 6, 5, 4, 3, 2, 1);
779 QT_BLOCKI (t_splat, &main.qt, 0, t->qt);
797 thread_t main;
801 t->next = &main;
804 test10_init (t, &main, 0 * sizeof(int));
822 thread_t main;
826 t->next = &main;
829 test10_init (t, &main, 2 * sizeof(int), 2, 1);
847 thread_t main;
851 t->next = &main;
854 test10_init (t, &main, 4 * sizeof(int), 4, 3, 2, 1);
873 thread_t main;
877 t->next = &main;
880 test10_init (t, &main, 8 * sizeof(int), 8, 7, 6, 5, 4, 3, 2, 1);
1045 main (int argc, char **argv)