I used libevent to implement a timer using multiple event bases.I want to know if this design is optimal?
invoke event_base_new() multiple times