Searched refs:my_thread (Results 1 – 4 of 4) sorted by relevance
34 std::thread::id my_thread = std::this_thread::get_id(); /*< get ID of initial thread >*/ in whatevah() local37 buffer << "fiber " << me << " started on thread " << my_thread << '\n'; in whatevah()43 if ( new_thread != my_thread) { /*< test if fiber was migrated to another thread >*/ in whatevah()44 my_thread = new_thread; in whatevah()46 buffer << "fiber " << me << " switched to thread " << my_thread << '\n'; in whatevah()
16 boost::thread my_thread(&hello_world); in main() local17 my_thread.join(); in main()
45 static void *my_thread(void *ptr) in my_thread() function98 if(!g_thread_create(&my_thread, argv[1], FALSE, NULL) != 0) in main()