Assorted whitespace cleanup and typo fixes.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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];
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user