Searched refs:externally_locked_stream (Results 1 – 7 of 7) sorted by relevance
/third_party/boost/libs/thread/doc/ |
D | sync_streams.qbk | 22 #include <boost/thread/externally_locked_stream.hpp> 26 class externally_locked_stream; 43 operator<<(externally_locked_stream<Stream, RecursiveMutex>& mtx, T arg); 46 operator<<(externally_locked_stream<Stream, RecursiveMutex>& mtx, Stream& (*arg)(Stream&)); 49 operator>>(externally_locked_stream<Stream, RecursiveMutex>& mtx, T& arg); 55 #include <boost/thread/externally_locked_stream.hpp> 62 typedef typename externally_locked_stream<Stream, RecursiveMutex>::mutex_type mutex_type; 67 stream_guard(externally_locked_stream<Stream, RecursiveMutex>& mtx); 68 stream_guard(externally_locked_stream<Stream, RecursiveMutex>& mtx, adopt_lock_t); 139 [section:externally_locked_stream Class `externally_locked_stream `] [all …]
|
D | compliance.qbk | 257 [[X.1] [Class template stream_mutex] [Partial] [ Renamed externally_locked_stream<> ]] 258 …[[X.2.1] [constructor] [Partial] [ externally_locked_stream needs a mutex in addition as arg…
|
/third_party/boost/boost/thread/ |
D | externally_locked_stream.hpp | 25 class externally_locked_stream; 31 friend class externally_locked_stream<Stream, RecursiveMutex> ; 33 typedef typename externally_locked_stream<Stream, RecursiveMutex>::mutex_type mutex_type; 37 stream_guard(externally_locked_stream<Stream, RecursiveMutex>& mtx) : in stream_guard() 43 stream_guard(externally_locked_stream<Stream, RecursiveMutex>& mtx, adopt_lock_t) : in stream_guard() 79 externally_locked_stream<Stream, RecursiveMutex>* mtx_; 95 class externally_locked_stream: public externally_locked<Stream&, RecursiveMutex> class 99 BOOST_THREAD_NO_COPYABLE( externally_locked_stream) 104 externally_locked_stream(Stream& stream, RecursiveMutex& mtx) BOOST_NOEXCEPT : in externally_locked_stream() function in boost::externally_locked_stream 143 …inline stream_guard<Stream, RecursiveMutex> operator<<(externally_locked_stream<Stream, RecursiveM… in operator <<() [all …]
|
/third_party/boost/libs/thread/example/ |
D | not_interleaved.cpp | 15 void use_cerr(boost::externally_locked_stream<std::ostream> &mcerr) in use_cerr() 26 void use_cout(boost::externally_locked_stream<std::ostream> &mcout) in use_cout() 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()
|
D | producer_consumer_bounded.cpp | 22 typedef boost::externally_locked_stream<std::ostream> the_ostream; 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()
|
D | producer_consumer2.cpp | 19 typedef boost::externally_locked_stream<std::ostream> the_ostream; 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()
|
D | producer_consumer.cpp | 20 typedef boost::externally_locked_stream<std::ostream> the_ostream; 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()
|