OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 // The SocketServer is not owned by MessageQueue. | 244 // The SocketServer is not owned by MessageQueue. |
245 SocketServer* ss_; | 245 SocketServer* ss_; |
246 // If a server isn't supplied in the constructor, use this one. | 246 // If a server isn't supplied in the constructor, use this one. |
247 scoped_ptr<SocketServer> default_ss_; | 247 scoped_ptr<SocketServer> default_ss_; |
248 bool fStop_; | 248 bool fStop_; |
249 bool fPeekKeep_; | 249 bool fPeekKeep_; |
250 Message msgPeek_; | 250 Message msgPeek_; |
251 MessageList msgq_; | 251 MessageList msgq_; |
252 PriorityQueue dmsgq_; | 252 PriorityQueue dmsgq_; |
253 uint32_t dmsgq_next_num_; | 253 uint32_t dmsgq_next_num_; |
254 mutable CriticalSection crit_; | 254 CriticalSection crit_; |
255 | 255 |
256 private: | 256 private: |
257 RTC_DISALLOW_COPY_AND_ASSIGN(MessageQueue); | 257 RTC_DISALLOW_COPY_AND_ASSIGN(MessageQueue); |
258 }; | 258 }; |
259 | 259 |
260 } // namespace rtc | 260 } // namespace rtc |
261 | 261 |
262 #endif // WEBRTC_BASE_MESSAGEQUEUE_H_ | 262 #endif // WEBRTC_BASE_MESSAGEQUEUE_H_ |
OLD | NEW |