| OLD | NEW | 
|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 459 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 470 void Thread::SetThreadLocal(LocalStorageKey key, void* value) { | 470 void Thread::SetThreadLocal(LocalStorageKey key, void* value) { | 
| 471   UNIMPLEMENTED(); | 471   UNIMPLEMENTED(); | 
| 472 } | 472 } | 
| 473 | 473 | 
| 474 | 474 | 
| 475 void Thread::YieldCPU() { | 475 void Thread::YieldCPU() { | 
| 476   UNIMPLEMENTED(); | 476   UNIMPLEMENTED(); | 
| 477 } | 477 } | 
| 478 | 478 | 
| 479 | 479 | 
| 480 class NullMutex : public Mutex { |  | 
| 481  public: |  | 
| 482   NullMutex() : data_(NULL) { |  | 
| 483     UNIMPLEMENTED(); |  | 
| 484   } |  | 
| 485 |  | 
| 486   virtual ~NullMutex() { |  | 
| 487     UNIMPLEMENTED(); |  | 
| 488   } |  | 
| 489 |  | 
| 490   virtual int Lock() { |  | 
| 491     UNIMPLEMENTED(); |  | 
| 492     return 0; |  | 
| 493   } |  | 
| 494 |  | 
| 495   virtual int Unlock() { |  | 
| 496     UNIMPLEMENTED(); |  | 
| 497     return 0; |  | 
| 498   } |  | 
| 499 |  | 
| 500  private: |  | 
| 501   void* data_; |  | 
| 502 }; |  | 
| 503 |  | 
| 504 |  | 
| 505 Mutex* OS::CreateMutex() { |  | 
| 506   UNIMPLEMENTED(); |  | 
| 507   return new NullMutex(); |  | 
| 508 } |  | 
| 509 |  | 
| 510 |  | 
| 511 class NullSemaphore : public Semaphore { | 480 class NullSemaphore : public Semaphore { | 
| 512  public: | 481  public: | 
| 513   explicit NullSemaphore(int count) : data_(NULL) { | 482   explicit NullSemaphore(int count) : data_(NULL) { | 
| 514     UNIMPLEMENTED(); | 483     UNIMPLEMENTED(); | 
| 515   } | 484   } | 
| 516 | 485 | 
| 517   virtual ~NullSemaphore() { | 486   virtual ~NullSemaphore() { | 
| 518     UNIMPLEMENTED(); | 487     UNIMPLEMENTED(); | 
| 519   } | 488   } | 
| 520 | 489 | 
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 564   UNIMPLEMENTED(); | 533   UNIMPLEMENTED(); | 
| 565 } | 534 } | 
| 566 | 535 | 
| 567 | 536 | 
| 568 void ProfileSampler::Stop() { | 537 void ProfileSampler::Stop() { | 
| 569   UNIMPLEMENTED(); | 538   UNIMPLEMENTED(); | 
| 570 } | 539 } | 
| 571 | 540 | 
| 572 | 541 | 
| 573 } }  // namespace v8::internal | 542 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|