the initial value is misleading as event center's id was changed to
the index in the worker vector.
Signed-off-by: Wei Jin <wjin.cn@gmail.com>
int notify_send_fd;
NetHandler net;
EventCallbackRef notify_handler;
- unsigned idx = 10000;
+ unsigned idx;
AssociatedCenters *global_centers = nullptr;
int process_time_events();
external_num_events(0),
driver(NULL), time_event_next_id(1),
notify_receive_fd(-1), notify_send_fd(-1), net(c),
- notify_handler(NULL) { }
+ notify_handler(NULL), idx(0) { }
~EventCenter();
ostream& _event_prefix(std::ostream *_dout);