Lines Matching refs:std
45 // Test std::thread
57 std::vector< std::thread > threads;
58 std::vector<int> outputs( MAX_N_WORKER_THREADS, 0 );
62 threads.push_back( std::thread( [&] (size_t thread_id ) {
63 std::cout << "Hello from thread " << thread_id
64 << std::endl;
67 } catch ( const std::system_error& err ) {
73 std::cout << "Hello from master thread" << std::endl;