OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // This module gets enough CPU information to optimize the | 5 // This module gets enough CPU information to optimize the |
6 // atomicops module on x86. | 6 // atomicops module on x86. |
7 | 7 |
8 #include <string.h> | 8 #include <string.h> |
9 | 9 |
10 #include "base/atomicops.h" | 10 #include "base/atomicops.h" |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 }; | 95 }; |
96 | 96 |
97 // A global to get use initialized on startup via static initialization :/ | 97 // A global to get use initialized on startup via static initialization :/ |
98 AtomicOpsx86Initializer g_initer; | 98 AtomicOpsx86Initializer g_initer; |
99 | 99 |
100 } // namespace | 100 } // namespace |
101 | 101 |
102 #endif // if x86 | 102 #endif // if x86 |
103 | 103 |
104 #endif // ifdef BASE_ATOMICOPS_INTERNALS_X86_GCC_H_ | 104 #endif // ifdef BASE_ATOMICOPS_INTERNALS_X86_GCC_H_ |
105 | |
OLD | NEW |