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

Side by Side Diff: runtime/platform/thread_macos.h

Issue 9196002: Move Mutex and Monitor from vm/ to platform/ (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed revire comments from ager@ Created 8 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
« no previous file with comments | « runtime/platform/thread_linux.cc ('k') | runtime/platform/thread_macos.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_THREAD_MACOS_H_ 5 #ifndef PLATFORM_THREAD_MACOS_H_
6 #define VM_THREAD_MACOS_H_ 6 #define PLATFORM_THREAD_MACOS_H_
7 7
8 #include <pthread.h> 8 #include <pthread.h>
9 9
10 #include "vm/globals.h" 10 #include "platform/globals.h"
11 11
12 namespace dart { 12 namespace dart {
13 13
14 class ThreadData { 14 class ThreadData {
15 private: 15 private:
16 ThreadData() {} 16 ThreadData() {}
17 ~ThreadData() {} 17 ~ThreadData() {}
18 18
19 pthread_t* tid() { return &tid_; } 19 pthread_t* tid() { return &tid_; }
20 20
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 pthread_cond_t cond_; 55 pthread_cond_t cond_;
56 56
57 friend class Monitor; 57 friend class Monitor;
58 58
59 DISALLOW_ALLOCATION(); 59 DISALLOW_ALLOCATION();
60 DISALLOW_COPY_AND_ASSIGN(MonitorData); 60 DISALLOW_COPY_AND_ASSIGN(MonitorData);
61 }; 61 };
62 62
63 } // namespace dart 63 } // namespace dart
64 64
65 #endif // VM_THREAD_MACOS_H_ 65 #endif // PLATFORM_THREAD_MACOS_H_
OLDNEW
« no previous file with comments | « runtime/platform/thread_linux.cc ('k') | runtime/platform/thread_macos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698