def select(self, timeout=None):
		if not self.__events:
			self._poll(timeout)
		tmp = self.__events
		self.__events = []
		return tmp
Override in order to handle events in a threadsafe manner.
dataset/ETHPy150Open harvimt/quamash/quamash/_windows.py/_IocpProactor.select