Assorted whitespace cleanup and typo fixes.

This commit is contained in:
Michael Lotz
2015-08-20 21:54:41 +02:00
parent 44b69ccbdb
commit 5d4501aa01
6 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -302,7 +302,7 @@ thread_is_blocked(Thread* thread)
especially with a client lock that uses the thread blocking API. After a
blocked thread has been interrupted or the the time out occurred it cannot
acquire the client lock (or any other lock using the thread blocking API)
without first making sure that the thread doesn't still appears to be
without first making sure that the thread doesn't still appear to be
waiting to other client code. Otherwise another thread could try to unblock
it which could erroneously unblock the thread while already waiting on the
client lock. So usually when interruptions or timeouts are possible a
+1 -1
View File
@@ -453,7 +453,7 @@ struct Thread : TeamThreadIteratorEntry<thread_id>, KernelReferenceable {
// modified by the thread itself and
// thus freely readable by it
void (*cancel_function)(int);
void (*cancel_function)(int);
struct {
uint8 parameters[SYSCALL_RESTART_PARAMETER_SIZE];
+3 -3
View File
@@ -233,21 +233,21 @@ template<class Element, class ElementVec>
int32
OpenHashTable<Element, ElementVec>::ArraySize() const
{
return fArraySize;
return fArraySize;
}
template<class Element, class ElementVec>
int32
OpenHashTable<Element, ElementVec>::VectorSize() const
{
return fElementVector->Size();
return fElementVector->Size();
}
template<class Element, class ElementVec>
int32
OpenHashTable<Element, ElementVec>::CountElements() const
{
return fElementCount;
return fElementCount;
}