摘要: typedef struct min_heap{ struct event** p; unsigned n, a;} min_heap_t;static inline void min_heap_ctor_(min_heap_t* s);static inline void min_heap_dtor_(min_heap_t* s);static inline void min_heap_elem_init_(struct event* e);static inline int min_heap_elt_is_top_... 阅读全文
posted @ 2013-08-12 23:10 hailong 阅读(1640) 评论(0) 推荐(0)
摘要: 从msdn上看二者的解释:postmessage :Places (posts) a message in the message queue associated with the thread that created the specified window and returns without waiting for the thread to process the message.To post a message in the message queue associated with a thread, use thePostThreadMessagefunction.The 阅读全文
posted @ 2013-08-12 17:25 hailong 阅读(378) 评论(0) 推荐(0)