Lines Matching refs:threads
68 g_thread_yield(); // let concurrent threads corrupt the unsafe_call_counter state
120 /* first, syncronize with other threads,
140 GThread *threads[3] = { NULL, };
141 /* pause newly created threads */
143 /* create threads */
144 threads[0] = g_thread_create (tester_init_thread, (gpointer) my_tester0_get_type(), TRUE, NULL);
145 threads[1] = g_thread_create (tester_init_thread, (gpointer) my_tester1_get_type(), TRUE, NULL);
146 threads[2] = g_thread_create (tester_init_thread, (gpointer) my_tester2_get_type(), TRUE, NULL);
147 /* execute threads */
153 g_usleep (50 * 1000); /* wait for threads to complete */