Home
last modified time | relevance | path

Searched refs:terminal_mutex (Results 1 – 5 of 5) sorted by relevance

/third_party/boost/libs/thread/example/
Dnot_interleaved.cpp41 recursive_mutex terminal_mutex; in main() local
43 externally_locked_stream<std::ostream> mcerr(std::cerr, terminal_mutex); in main()
44 externally_locked_stream<std::ostream> mcout(std::cout, terminal_mutex); in main()
45 externally_locked_stream<std::istream> mcin(std::cin, terminal_mutex); in main()
52 strict_lock<recursive_mutex> lk(terminal_mutex); in main()
Dproducer_consumer_bounded.cpp118 recursive_mutex terminal_mutex; in main() local
120 externally_locked_stream<std::ostream> mcerr(std::cerr, terminal_mutex); in main()
121 externally_locked_stream<std::ostream> mcout(std::cout, terminal_mutex); in main()
122 externally_locked_stream<std::istream> mcin(std::cin, terminal_mutex); in main()
Dproducer_consumer.cpp118 recursive_mutex terminal_mutex; in main() local
120 externally_locked_stream<std::ostream> mcerr(std::cerr, terminal_mutex); in main()
121 externally_locked_stream<std::ostream> mcout(std::cout, terminal_mutex); in main()
122 externally_locked_stream<std::istream> mcin(std::cin, terminal_mutex); in main()
Dproducer_consumer2.cpp121 recursive_mutex terminal_mutex; in main() local
123 externally_locked_stream<std::ostream> mcerr(std::cerr, terminal_mutex); in main()
124 externally_locked_stream<std::ostream> mcout(std::cout, terminal_mutex); in main()
125 externally_locked_stream<std::istream> mcin(std::cin, terminal_mutex); in main()
/third_party/boost/boost/thread/detail/
Dlog.hpp22 inline boost::recursive_mutex& terminal_mutex() in terminal_mutex() function
34 boost::lock_guard<boost::recursive_mutex> _lk_(boost::thread_detail::terminal_mutex()); \
40 boost::lock_guard<boost::recursive_mutex> _lk_(boost::thread_detail::terminal_mutex()); \