摘要: 首先看两个runloop的示例,来源:http://paste.lisp.org/display/86524第一个:#include<CoreFoundation/CoreFoundation.h>staticvoid_perform(void*info__unused){printf("hello\n");}staticvoid_timer(CFRunLoopTimerReftimer__unused,void*info){CFRunLoopSourceSignal(info);}intmain(){CFRunLoopSourceRefsource;CFRun 阅读全文
posted @ 2012-02-23 18:19 Piosa 阅读(720) 评论(0) 推荐(0) 编辑