Home
last modified time | relevance | path

Searched refs:INMAIN (Results 1 - 21 of 21) sorted by relevance

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cleanup_push/
H A D1-2.c37 #define INMAIN 1 /* Control going to or is already for Main */ macro
46 sem1 = INMAIN; in a_cleanup_func()
59 sem1 = INMAIN; in a_thread_func()
63 while (sem1 == INMAIN) in a_thread_func()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_init/
H A D2-1.c32 #define INMAIN 1 /* Control going to or is already for Main */ macro
60 sem1 = INMAIN; in main()
73 while (sem1 == INMAIN) in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cleanup_pop/
H A D1-2.c31 #define INMAIN 1 macro
50 sem1 = INMAIN; in a_thread_func()
54 while (sem1 == INMAIN) in a_thread_func()
H A D1-1.c31 #define INMAIN 1 macro
50 sem1 = INMAIN; in a_thread_func()
54 while (sem1 == INMAIN) in a_thread_func()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_testcancel/
H A D2-1.c28 #define INMAIN 1 /* Control going to or is already for Main */ macro
42 sem1 = INMAIN; in a_thread_func()
46 while (sem1 == INMAIN) in a_thread_func()
76 * a_thread_func() to set sem1=INMAIN.) */ in main()
H A D1-1.c39 #define INMAIN 1 /* Control going to or is already for Main */ macro
62 sem1 = INMAIN; in a_thread_func()
107 * a_thread_func() to set sem1=INMAIN.) */ in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/
H A D1-2.c34 #define INMAIN 1 /* Control going to or is already for Main */ macro
56 sem1 = INMAIN; in a_thread_func()
59 * sets sem1==INMAIN. Sleeping for 3 secs. to give time for the in a_thread_func()
61 while (sem1 == INMAIN) in a_thread_func()
H A D1-1.c34 #define INMAIN 1 /* Control going to or is already for Main */ macro
56 sem1 = INMAIN; in a_thread_func()
H A D1-3.c40 #define INMAIN 1 /* Control going to or is already for Main */ macro
63 sem1 = INMAIN; in a_thread_func()
108 * a_thread_func() to set sem1=INMAIN.) */ in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setcancelstate/
H A D1-1.c32 #define INMAIN 1 /* Control going to or is already for Main */ macro
48 sem1 = INMAIN; in a_thread_func()
52 while (sem1 == INMAIN) in a_thread_func()
81 * a_thread_func() to set sem1=INMAIN.) */ in main()
H A D1-2.c32 #define INMAIN 1 /* Control going to or is already for Main */ macro
46 sem1 = INMAIN; in a_thread_func()
50 while (sem1 == INMAIN) in a_thread_func()
80 * a_thread_func() to set sem1=INMAIN.) */ in main()
H A D2-1.c27 #define INMAIN 1 /* Control going to or is already for Main */ macro
43 sem1 = INMAIN; in a_thread_func()
47 while (sem1 == INMAIN) in a_thread_func()
76 * a_thread_func() to set sem1=INMAIN.) */ in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/
H A D1-1.c11 Using two global values of sem1 (INTHREAD and INMAIN), we are going to
14 INTHREAD and keeps looping until sem1 gets changed back to INMAIN, the
16 a_thread_func() sets sem1 to INMAIN and keeps looping until sem1 gets
45 #define INMAIN 1 macro
66 sem1 = INMAIN; in a_thread_func()
68 while (sem1 == INMAIN) in a_thread_func()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_unlock/
H A D3-1.c36 #define INMAIN 1 macro
61 sem = INMAIN; in fn_chld()
62 while (sem == INMAIN) in fn_chld()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigpause/
H A D2-1.c22 4. Now, from the new thread, set sem back to INMAIN to allow main to continue
40 #define INMAIN 0 macro
45 static int sem = INMAIN;
82 sem = INMAIN; in a_thread_func()
H A D3-1.c29 #define INMAIN 1 macro
68 sem = INMAIN; in a_thread_func()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/
H A D1-1.c29 #define INMAIN 1 /* Control going to or is already for Main */ macro
36 sem = INMAIN; in a_thread_func()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/
H A D2-1.c33 #define INMAIN 1 /* Control going to or is already for Main */ macro
40 sem = INMAIN; in a_thread_func()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setcanceltype/
H A D1-2.c39 #define INMAIN 1 /* Control going to or is already for Main */ macro
62 sem1 = INMAIN; in a_thread_func()
107 * a_thread_func() to set sem1=INMAIN.) */ in main()
H A D1-1.c35 #define INMAIN 1 /* Control going to or is already for Main */ macro
59 sem1 = INMAIN; in a_thread_func()
99 * a_thread_func() to set sem1=INMAIN.) */ in main()
H A D2-1.c35 #define INMAIN 1 /* Control going to or is already for Main */ macro
57 sem1 = INMAIN; in a_thread_func()
102 * a_thread_func() to set sem1=INMAIN.) */ in main()

Completed in 5 milliseconds