appkit: Add some methods useful for waking up event loops from other
threads
Merge pull request #44 from pcwalton/off-thread-events

appkit: Add some methods useful for waking up event loops from other threads