| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 class Thread::PlatformData : public Malloced { | 307 class Thread::PlatformData : public Malloced { |
| 308 public: | 308 public: |
| 309 PlatformData() { | 309 PlatformData() { |
| 310 UNIMPLEMENTED(); | 310 UNIMPLEMENTED(); |
| 311 } | 311 } |
| 312 | 312 |
| 313 void* pd_data_; | 313 void* pd_data_; |
| 314 }; | 314 }; |
| 315 | 315 |
| 316 | 316 |
| 317 Thread::Thread(Isolate* isolate, const Options& options) | 317 Thread::Thread(const Options& options) |
| 318 : data_(new PlatformData()), | 318 : data_(new PlatformData()), |
| 319 isolate_(isolate), | |
| 320 stack_size_(options.stack_size) { | 319 stack_size_(options.stack_size) { |
| 321 set_name(options.name); | 320 set_name(options.name); |
| 322 UNIMPLEMENTED(); | 321 UNIMPLEMENTED(); |
| 323 } | 322 } |
| 324 | 323 |
| 325 | 324 |
| 326 Thread::Thread(Isolate* isolate, const char* name) | 325 Thread::Thread(const char* name) |
| 327 : data_(new PlatformData()), | 326 : data_(new PlatformData()), |
| 328 isolate_(isolate), | |
| 329 stack_size_(0) { | 327 stack_size_(0) { |
| 330 set_name(name); | 328 set_name(name); |
| 331 UNIMPLEMENTED(); | 329 UNIMPLEMENTED(); |
| 332 } | 330 } |
| 333 | 331 |
| 334 | 332 |
| 335 Thread::~Thread() { | 333 Thread::~Thread() { |
| 336 delete data_; | 334 delete data_; |
| 337 UNIMPLEMENTED(); | 335 UNIMPLEMENTED(); |
| 338 } | 336 } |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 } | 468 } |
| 471 | 469 |
| 472 | 470 |
| 473 void ProfileSampler::Stop() { | 471 void ProfileSampler::Stop() { |
| 474 UNIMPLEMENTED(); | 472 UNIMPLEMENTED(); |
| 475 } | 473 } |
| 476 | 474 |
| 477 #endif // ENABLE_LOGGING_AND_PROFILING | 475 #endif // ENABLE_LOGGING_AND_PROFILING |
| 478 | 476 |
| 479 } } // namespace v8::internal | 477 } } // namespace v8::internal |
| OLD | NEW |