OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project 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 contains the platform-specific code. This make the rest of the | 5 // This module contains the platform-specific code. This make the rest of the |
6 // code less dependent on operating system, compilers and runtime libraries. | 6 // code less dependent on operating system, compilers and runtime libraries. |
7 // This module does specifically not deal with differences between different | 7 // This module does specifically not deal with differences between different |
8 // processor architecture. | 8 // processor architecture. |
9 // The platform classes have the same definition for all platforms. The | 9 // The platform classes have the same definition for all platforms. The |
10 // implementation for a particular platform is put in platform_<os>.cc. | 10 // implementation for a particular platform is put in platform_<os>.cc. |
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 | 472 |
473 PlatformData* data_; | 473 PlatformData* data_; |
474 | 474 |
475 char name_[kMaxThreadNameLength]; | 475 char name_[kMaxThreadNameLength]; |
476 int stack_size_; | 476 int stack_size_; |
477 Semaphore* start_semaphore_; | 477 Semaphore* start_semaphore_; |
478 | 478 |
479 DISALLOW_COPY_AND_ASSIGN(Thread); | 479 DISALLOW_COPY_AND_ASSIGN(Thread); |
480 }; | 480 }; |
481 | 481 |
482 } } // namespace v8::base | 482 } // namespace base |
| 483 } // namespace v8 |
483 | 484 |
484 #endif // V8_BASE_PLATFORM_PLATFORM_H_ | 485 #endif // V8_BASE_PLATFORM_PLATFORM_H_ |
OLD | NEW |