Code comments, log strings and some variable spell fixes.
This commit is contained in:
committed by
Robert Osfield
parent
300ba7aa02
commit
2ade061ced
@@ -229,7 +229,7 @@ private:
|
||||
};
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
// Print information related to thread schduling parameters.
|
||||
// Print information related to thread scheduling parameters.
|
||||
//
|
||||
static void PrintThreadSchedulingInfo(Thread *thread) {
|
||||
|
||||
|
||||
@@ -158,7 +158,7 @@ int Condition::wait(Mutex *mutex, unsigned long int ms) {
|
||||
static_cast<PThreadMutexPrivateData *>(mutex->_prvData);
|
||||
|
||||
|
||||
// wait time is now in ms milliseconds, so need to convert to seconds and nanoseconds for timespec strucuture.
|
||||
// wait time is now in ms milliseconds, so need to convert to seconds and nanoseconds for timespec structure.
|
||||
unsigned int sec = ms / 1000;
|
||||
unsigned int nsec = (ms % 1000) * 1000000;
|
||||
|
||||
|
||||
@@ -132,7 +132,7 @@ namespace OpenThreads {
|
||||
};
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
// Print information related to thread schduling parameters.
|
||||
// Print information related to thread scheduling parameters.
|
||||
//
|
||||
static void PrintThreadSchedulingInfo(Thread *thread) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user