Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个文件描述符,我希望 ace reactor 在其上注册,并在更改时通知我。如何在给定的文件描述符上注册反应器?
看看这里的例子。你这样做的方式是:
ACE_Event_Handler
ACE_Reactor::instance()->register_handler(new_handler)