Searched refs:thread_ (Results 1 - 25 of 57) sorted by relevance

123

/external/chromium/third_party/libjingle/source/talk/base/
H A Dcriticalsection.h57 TRACK_OWNER(thread_ = 0);
64 TRACK_OWNER(thread_ = GetCurrentThreadId());
67 TRACK_OWNER(thread_ = 0);
72 bool CurrentThreadIsOwner() const { return thread_ == GetCurrentThreadId(); }
77 TRACK_OWNER(DWORD thread_); // The section's owning thread id
90 TRACK_OWNER(thread_ = 0);
97 TRACK_OWNER(thread_ = pthread_self());
100 TRACK_OWNER(thread_ = 0);
105 bool CurrentThreadIsOwner() const { return pthread_equal(thread_, pthread_self()); }
110 TRACK_OWNER(pthread_t thread_);
[all...]
H A Dbasicpacketsocketfactory.cc40 : thread_(thread),
46 : thread_(NULL),
153 if (thread_)
154 return thread_->socketserver();
H A Dthread.cc115 result->thread_ = OpenThread(SYNCHRONIZE, FALSE, GetCurrentThreadId());
116 if (!result->thread_)
119 result->thread_ = pthread_self();
136 if (!CloseHandle(t->thread_)) {
175 thread_(NULL),
239 thread_ = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)PreRun, init, flags,
241 if (thread_) {
244 ::SetThreadPriority(thread_, THREAD_PRIORITY_HIGHEST);
246 ::SetThreadPriority(thread_, THREAD_PRIORITY_ABOVE_NORMAL);
248 ::SetThreadPriority(thread_, THREAD_PRIORITY_IDL
[all...]
H A Dthread.h60 // Returns a thread object with its thread_ ivar set
179 return thread_;
183 return thread_;
199 pthread_t thread_; member in class:talk_base::Thread
203 HANDLE thread_; member in class:talk_base::Thread
H A Dbasicpacketsocketfactory.h61 Thread* thread_; member in class:talk_base::BasicPacketSocketFactory
/external/protobuf/src/google/protobuf/stubs/
H A Donce_unittest.cc78 thread_ = CreateThread(NULL, 0, &Start, this, 0, NULL);
80 pthread_create(&thread_, NULL, &Start, this);
94 WaitForSingleObject(thread_, INFINITE);
95 CloseHandle(thread_);
97 pthread_join(thread_, NULL);
103 HANDLE thread_; member in class:google::protobuf::__anon7824::OnceInitTest::TestThread
105 pthread_t thread_; member in class:google::protobuf::__anon7824::OnceInitTest::TestThread
/external/chromium/base/threading/
H A Dthread.cc52 thread_(0),
74 if (!PlatformThread::Create(options.stack_size, this, &thread_)) {
102 PlatformThread::Join(thread_);
H A Dsimple_thread.cc15 thread_(), event_(true, false), tid_(0), joined_(false) {
21 thread_(), event_(true, false), tid_(0), joined_(false) {
31 bool success = PlatformThread::Create(options_.stack_size(), this, &thread_);
39 PlatformThread::Join(thread_);
H A Dthread.h123 PlatformThreadHandle thread_handle() { return thread_; }
172 PlatformThreadHandle thread_; member in class:base::Thread
/external/chromium/chrome/common/extensions/docs/examples/extensions/irc/servlet/src/org/chromium/
H A DIRCProxyWebSocket.java42 Thread thread_; field in class:IRCProxyWebSocket.ChatWebSocket
66 thread_ = new Thread(this);
67 thread_.start();
90 thread_.stop();
/external/chromium/chrome/browser/sync/engine/
H A Dsyncer_thread.cc70 : thread_("SyncEngine_SyncerThread"),
83 DCHECK(!thread_.IsRunning());
113 if (!thread_.IsRunning()) {
116 if (!thread_.Start()) {
121 thread_.message_loop()->PostTask(FROM_HERE, NewRunnableMethod(
128 thread_.message_loop()->PostTask(FROM_HERE, NewRunnableMethod(
133 DCHECK_EQ(MessageLoop::current(), thread_.message_loop());
156 DCHECK_EQ(MessageLoop::current(), thread_.message_loop());
304 if (!thread_.IsRunning()) {
308 thread_
[all...]
/external/chromium/net/base/
H A Ddirectory_lister.cc49 thread_(base::kNullThreadHandle) {
62 thread_(base::kNullThreadHandle) {
75 if (!base::PlatformThread::Create(0, this, &thread_)) {
86 if (thread_) {
90 base::PlatformThread::Join(thread_);
91 thread_ = base::kNullThreadHandle;
153 if (thread_) {
157 base::PlatformThread::Join(thread_);
H A Dlisten_socket_unittest.cc23 : thread_(NULL),
33 thread_.reset(new base::Thread("socketio_test"));
34 thread_->StartWithOptions(options);
35 loop_ = reinterpret_cast<MessageLoopForIO*>(thread_->message_loop());
75 thread_.reset();
H A Ddirectory_lister.h109 base::PlatformThreadHandle thread_; member in class:net::DirectoryLister
/external/chromium/third_party/libjingle/source/talk/p2p/base/
H A Dstunrequest.cc43 : thread_(thread) {
63 thread_->PostDelayed(delay, request, MSG_STUN_SEND, NULL);
72 thread_->Clear(request);
145 manager_->thread_->Clear(this);
185 manager_->thread_->PostDelayed(delay, this, MSG_STUN_SEND, NULL);
H A Dstunrequest.h70 talk_base::Thread* thread_; member in class:cricket::StunRequestManager
/external/chromium/chrome/browser/chromeos/
H A Daudio_mixer_alsa.cc67 if (thread_ != NULL) {
71 thread_->message_loop()->PostTask(FROM_HERE,
81 thread_->message_loop()->AssertIdle();
83 thread_->Stop();
84 thread_.reset();
104 thread_->message_loop()->PostTask(FROM_HERE,
244 if (thread_ == NULL) {
246 thread_.reset(new base::Thread("AudioMixerAlsa"));
247 if (!thread_->Start()) {
248 thread_
[all...]
H A Daudio_mixer_alsa.h105 scoped_ptr<base::Thread> thread_; member in class:chromeos::AudioMixerAlsa
/external/chromium/chrome/browser/history/
H A Dhistory.cc126 : thread_(new base::Thread(kHistoryThreadName)),
135 : thread_(new base::Thread(kHistoryThreadName)),
196 if (!thread_) {
207 base::Thread* thread = thread_;
208 thread_ = NULL;
329 DCHECK(thread_) << "History service being called after cleanup";
625 if (!thread_)
664 if (!thread_->Start()) {
687 thread_->message_loop()->PostTask(FROM_HERE, task);
760 if (!thread_)
[all...]
H A Dhistory.h701 DCHECK(thread_) << "History service being called after cleanup";
717 DCHECK(thread_) << "History service being called after cleanup";
738 DCHECK(thread_) << "History service being called after cleanup";
761 DCHECK(thread_) << "History service being called after cleanup";
780 DCHECK(thread_) << "History service being called after cleanup";
789 DCHECK(thread_) << "History service being called after cleanup";
799 DCHECK(thread_) << "History service being called after cleanup";
811 DCHECK(thread_) << "History service being called after cleanup";
828 DCHECK(thread_) << "History service being called after cleanup";
841 // |thread_| i
842 base::Thread* thread_; member in class:HistoryService
[all...]
/external/chromium/chrome/browser/resources/gpu_internals/
H A Dtimeline_track.js63 this.thread_ = thread;
98 if (this.thread_) {
99 for (var srI = 0; srI < this.thread_.subRows.length; ++srI) {
103 track.heading = this.thread_.parent.pid + ': ' +
104 this.thread_.tid + ': ';
107 track.slices = this.thread_.subRows[srI];
/external/chromium/chrome/browser/password_manager/
H A Dpassword_store_mac.h30 // Initializes |thread_| and |notification_service_|.
36 // Schedules tasks on |thread_|.
86 scoped_ptr<base::Thread> thread_; member in class:PasswordStoreMac
/external/chromium/net/proxy/
H A Dmulti_threaded_proxy_resolver.cc85 // Note that declaration ordering is important here. |thread_| needs to be
87 // executing on |thread_|.
88 scoped_ptr<base::Thread> thread_; member in class:net::MultiThreadedProxyResolver::Executor
309 thread_.reset(new base::Thread(thread_name.c_str()));
310 CHECK(thread_->Start());
321 thread_->message_loop()->PostTask(
345 thread_.reset();
366 thread_->message_loop()->PostTask(
375 DCHECK(!thread_.get());
/external/chromium/base/files/
H A Dfile_path_watcher_linux.cc72 base::Thread thread_; member in class:base::files::__anon785::InotifyReader
221 : thread_("inotify_reader"),
226 if (inotify_fd_ >= 0 && pipe(shutdown_pipe_) == 0 && thread_.Start()) {
227 thread_.message_loop()->PostTask(
240 thread_.Stop();
/external/chromium/chrome/browser/debugger/
H A Ddevtools_remote_listen_socket_unittest.cc75 thread_(NULL),
97 thread_.reset(new base::Thread("socketio_test"));
98 thread_->StartWithOptions(options);
99 loop_ = static_cast<MessageLoopForIO*>(thread_->message_loop());
154 thread_.reset();

Completed in 502 milliseconds

123