Cleanup.
This commit is contained in:
@@ -36,7 +36,8 @@ static inline Boolean IntValue( const void *o, int *n )
|
|||||||
return CFNumberGetValue( CFNumberRef(o), kCFNumberIntType, n );
|
return CFNumberGetValue( CFNumberRef(o), kCFNumberIntType, n );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This is just awful, these aren't objects, treating them as such leads
|
/*
|
||||||
|
* This is just awful, these aren't objects, treating them as such leads
|
||||||
* to: (*object)->function(object [, argument]...)
|
* to: (*object)->function(object [, argument]...)
|
||||||
* Instead, do: CALL(object, function [, argument]...)
|
* Instead, do: CALL(object, function [, argument]...)
|
||||||
*/
|
*/
|
||||||
@@ -833,7 +834,7 @@ InputHandler_Carbon::InputHandler_Carbon() : mMasterPort(0), mSem("Input thread
|
|||||||
IOObjectRelease( iter );
|
IOObjectRelease( iter );
|
||||||
}
|
}
|
||||||
|
|
||||||
mInputThread.SetName( "InputThread" );
|
mInputThread.SetName( "Input thread" );
|
||||||
mInputThread.Create( InputHandler_Carbon::Run, this );
|
mInputThread.Create( InputHandler_Carbon::Run, this );
|
||||||
// Wait for the run loop to start before returning.
|
// Wait for the run loop to start before returning.
|
||||||
mSem.Wait();
|
mSem.Wait();
|
||||||
|
|||||||
Reference in New Issue
Block a user