global event poller and thread local event poller