Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Side by Side Diff: base/synchronization/waitable_event.h

Issue 5977010: Move CancellationFlag and WaitableEvent to the synchronization subdirectory.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_WAITABLE_EVENT_H_ 5 #ifndef BASE_SYNCHRONIZATION_WAITABLE_EVENT_H_
6 #define BASE_WAITABLE_EVENT_H_ 6 #define BASE_SYNCHRONIZATION_WAITABLE_EVENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
11 #if defined(OS_WIN) 11 #if defined(OS_WIN)
12 #include <windows.h> 12 #include <windows.h>
13 #endif 13 #endif
14 14
15 #if defined(OS_POSIX) 15 #if defined(OS_POSIX)
16 #include <list> 16 #include <list>
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 typedef std::pair<WaitableEvent*, size_t> WaiterAndIndex; 169 typedef std::pair<WaitableEvent*, size_t> WaiterAndIndex;
170 static size_t EnqueueMany(WaiterAndIndex* waitables, 170 static size_t EnqueueMany(WaiterAndIndex* waitables,
171 size_t count, Waiter* waiter); 171 size_t count, Waiter* waiter);
172 #endif 172 #endif
173 173
174 DISALLOW_COPY_AND_ASSIGN(WaitableEvent); 174 DISALLOW_COPY_AND_ASSIGN(WaitableEvent);
175 }; 175 };
176 176
177 } // namespace base 177 } // namespace base
178 178
179 #endif // BASE_WAITABLE_EVENT_H_ 179 #endif // BASE_SYNCHRONIZATION_WAITABLE_EVENT_H_
OLDNEW
« no previous file with comments | « base/synchronization/cancellation_flag_unittest.cc ('k') | base/synchronization/waitable_event_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698