New submission from Hasan <hala...@gmail.com>: kqueue timers are not working at all on Mac OSX 10.6.1 (probably not working on other BSDs as well but haven't tested it).
Here's a simply repro: from select import * kq = kqueue() e = kevent(10000, flags=KQ_EV_ENABLE|KQ_EV_ONESHOT, filter=KQ_FILTER_TIMER) e <select.kevent ident=10000 filter=-7 flags=0x14 fflags=0x0 data=0x0 udata=0x0> new_e = f.control([e], 1, 0) This should block 10s before it returns control with new_e having a timer event returned. However, it isn't the case. control returns immediately returning a busted event: [<select.kevent ident=10000 filter=-7 flags=0x4000 fflags=0x0 data=0x2 udata=0x0>] Am I missing something? ---------- components: Library (Lib) messages: 96247 nosy: hasan severity: normal status: open title: kqueue timers don't work properly type: behavior versions: Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7477> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com