Home
last modified time | relevance | path

Searched refs:the_ostream (Results 1 – 3 of 3) sorted by relevance

/third_party/boost/libs/thread/example/
Dproducer_consumer.cpp20 typedef boost::externally_locked_stream<std::ostream> the_ostream; typedef
22 typedef std::ostream the_ostream; typedef
27 void producer(the_ostream & /*mos*/, boost::sync_queue<int> & sbq) in producer() argument
50 the_ostream & /*mos*/, in consumer() argument
74 void consumer2(the_ostream &/*mos*/, boost::sync_queue<int> & sbq) in consumer2() argument
94 void consumer3(the_ostream &/*mos*/, boost::sync_queue<int> & sbq) in consumer3() argument
124 the_ostream &mcerr = std::cout; in main()
125 the_ostream &mcout = std::cerr; in main()
Dproducer_consumer2.cpp19 typedef boost::externally_locked_stream<std::ostream> the_ostream; typedef
21 typedef std::ostream the_ostream; typedef
30 void producer(the_ostream &/*mos*/, boost::queue_back<int> sbq) in producer() argument
53 the_ostream &/*mos*/, in consumer() argument
77 void consumer2(the_ostream &/*mos*/, boost::queue_front<int> sbq) in consumer2() argument
97 void consumer3(the_ostream &/*mos*/, boost::queue_front<int> sbq) in consumer3() argument
127 the_ostream &mcerr = std::cout; in main()
128 the_ostream &mcout = std::cerr; in main()
Dproducer_consumer_bounded.cpp22 typedef boost::externally_locked_stream<std::ostream> the_ostream; typedef
24 typedef std::ostream the_ostream; typedef
30 void producer(the_ostream &/*mos*/, boost::sync_bounded_queue<int> & sbq) in producer() argument
52 void consumer(the_ostream &/*mos*/, boost::sync_bounded_queue<int> & sbq) in consumer() argument
74 void consumer2(the_ostream &/*mos*/, boost::sync_bounded_queue<int> & sbq) in consumer2() argument
124 the_ostream &mcerr = std::cout; in main()
125 the_ostream &mcout = std::cerr; in main()