Home
last modified time | relevance | path

Searched refs:my_thread (Results 1 – 4 of 4) sorted by relevance

/third_party/boost/libs/fiber/examples/
Dwork_stealing.cpp34 std::thread::id my_thread = std::this_thread::get_id(); /*< get ID of initial thread >*/ in whatevah() local
37 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()
Dwork_sharing.cpp34 std::thread::id my_thread = std::this_thread::get_id(); /*< get ID of initial thread >*/ in whatevah() local
37 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()
/third_party/boost/libs/thread/test/
Dtest_8586.cpp16 boost::thread my_thread(&hello_world); in main() local
17 my_thread.join(); in main()
/third_party/curl/docs/examples/
Dcurlgtk.c45 static void *my_thread(void *ptr) in my_thread() function
98 if(!g_thread_create(&my_thread, argv[1], FALSE, NULL) != 0) in main()