Reland disallowing blocking calls on the worker thread.
This fixed the issue that invoking the call when the thread is not started. BUG=3559 R=juberti@webrtc.org, thorcarpenter@google.com Review URL: https://webrtc-codereview.appspot.com/24769004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7325 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -210,7 +210,7 @@ class Thread : public MessageQueue {
|
||||
bool RunningForTest() { return running(); }
|
||||
|
||||
// Sets the per-thread allow-blocking-calls flag and returns the previous
|
||||
// value.
|
||||
// value. Must be called on this thread.
|
||||
bool SetAllowBlockingCalls(bool allow);
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user