Fix typos and spelling.

This commit is contained in:
Alberto Luaces
2018-04-20 18:18:22 +02:00
committed by Robert Osfield
parent c3008512f1
commit 02c310982e
187 changed files with 302 additions and 302 deletions

View File

@@ -401,7 +401,7 @@ int Thread::GetConcurrency()
//----------------------------------------------------------------------------
//
// Decription: Constructor
// Description: Constructor
//
// Use: public.
//
@@ -418,7 +418,7 @@ Thread::Thread()
//----------------------------------------------------------------------------
//
// Decription: Destructor
// Description: Destructor
//
// Use: public.
//

View File

@@ -97,7 +97,7 @@ Barrier::Barrier(int numThreads) {
}
#endif // ] Priority sheduling
#endif // ] Priority scheduling
#endif // ] ALLOW_PRIORITY_SCHEDULING

View File

@@ -76,7 +76,7 @@ void condition_cleanup_handler(void *arg) {
//----------------------------------------------------------------------------
//
// Decription: Constructor
// Description: Constructor
//
// Use: public.
//
@@ -97,7 +97,7 @@ Condition::Condition() {
//----------------------------------------------------------------------------
//
// Decription: Destructor
// Description: Destructor
//
// Use: public.
//
@@ -118,7 +118,7 @@ Condition::~Condition() {
//----------------------------------------------------------------------------
//
// Decription: wait on a condition
// Description: wait on a condition
//
// Use: public.
//
@@ -145,7 +145,7 @@ int Condition::wait(Mutex *mutex) {
//----------------------------------------------------------------------------
//
// Decription: wait on a condition, for a specified period of time
// Description: wait on a condition, for a specified period of time
//
// Use: public.
//
@@ -191,7 +191,7 @@ int Condition::wait(Mutex *mutex, unsigned long int ms) {
//----------------------------------------------------------------------------
//
// Decription: signal a thread to wake up.
// Description: signal a thread to wake up.
//
// Use: public.
//
@@ -205,7 +205,7 @@ int Condition::signal() {
//----------------------------------------------------------------------------
//
// Decription: signal many threads to wake up.
// Description: signal many threads to wake up.
//
// Use: public.
//

View File

@@ -26,7 +26,7 @@ using namespace OpenThreads;
//----------------------------------------------------------------------------
//
// Decription: Constructor
// Description: Constructor
//
// Use: public.
//
@@ -101,7 +101,7 @@ Mutex::Mutex(MutexType type):
//----------------------------------------------------------------------------
//
// Decription: Destructor
// Description: Destructor
//
// Use: public.
//
@@ -118,7 +118,7 @@ Mutex::~Mutex() {
//----------------------------------------------------------------------------
//
// Decription: lock the mutex
// Description: lock the mutex
//
// Use: public.
//
@@ -133,7 +133,7 @@ int Mutex::lock() {
//----------------------------------------------------------------------------
//
// Decription: unlock the mutex
// Description: unlock the mutex
//
// Use: public.
//
@@ -148,7 +148,7 @@ int Mutex::unlock() {
//----------------------------------------------------------------------------
//
// Decription: test if the mutex may be locked
// Description: test if the mutex may be locked
//
// Use: public.
//