This commit is contained in:
Steve Checkoway
2005-12-19 01:32:36 +00:00
parent 4b31547f78
commit a8d0b5c9f9
@@ -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();