I'm trying to define custom input source for CFRunLoop
, I've read the Threading Programming Guide document wrote by Apple and this problem is the only one that I cannot understand.
So, I want to know what is the purpose of CFRunLoopScheduleCallBack
function or how to implement this function?