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

Side by Side Diff: src/platform.h

Issue 9123031: Spellling mistakes. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: 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 | « src/mips/code-stubs-mips.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 546
547 class Semaphore { 547 class Semaphore {
548 public: 548 public:
549 virtual ~Semaphore() {} 549 virtual ~Semaphore() {}
550 550
551 // Suspends the calling thread until the semaphore counter is non zero 551 // Suspends the calling thread until the semaphore counter is non zero
552 // and then decrements the semaphore counter. 552 // and then decrements the semaphore counter.
553 virtual void Wait() = 0; 553 virtual void Wait() = 0;
554 554
555 // Suspends the calling thread until the counter is non zero or the timeout 555 // Suspends the calling thread until the counter is non zero or the timeout
556 // time has passsed. If timeout happens the return value is false and the 556 // time has passed. If timeout happens the return value is false and the
557 // counter is unchanged. Otherwise the semaphore counter is decremented and 557 // counter is unchanged. Otherwise the semaphore counter is decremented and
558 // true is returned. The timeout value is specified in microseconds. 558 // true is returned. The timeout value is specified in microseconds.
559 virtual bool Wait(int timeout) = 0; 559 virtual bool Wait(int timeout) = 0;
560 560
561 // Increments the semaphore counter. 561 // Increments the semaphore counter.
562 virtual void Signal() = 0; 562 virtual void Signal() = 0;
563 }; 563 };
564 564
565 565
566 // ---------------------------------------------------------------------------- 566 // ----------------------------------------------------------------------------
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 Atomic32 active_; 688 Atomic32 active_;
689 PlatformData* data_; // Platform specific data. 689 PlatformData* data_; // Platform specific data.
690 int samples_taken_; // Counts stack samples taken. 690 int samples_taken_; // Counts stack samples taken.
691 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler); 691 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler);
692 }; 692 };
693 693
694 694
695 } } // namespace v8::internal 695 } } // namespace v8::internal
696 696
697 #endif // V8_PLATFORM_H_ 697 #endif // V8_PLATFORM_H_
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698