From: Roman P. <pu...@x-...> - 2012-09-06 00:11:14
|
Hi together, I have finally hacked together a notifier based on libevent 2.x to overcome the limitations with the current notifier, namely: - limitations on 1024 sockets - bottleneck due to jumbo select - avoid notifier thread (this implementation is now single-threaded) The code is a two and a half hours prototype (300 lines only), currently implemented in c++ and linux/unix only. Right now, sockets and timer work (more or less). I'd need some interested parties to review, and probably explain, namely: - why does tcl insist of calling deleteFileHandlerProc on non-registered files? - review wether or not my understanding on the different callbacks is right - obvious errors in the implementation - coding style - anything else you may wish to add - why does "set t [thread::create]; thread::send <threadid> pwd " lock up (yet)? who is willing to spend some brain-cycles on a short review? Please email, and I'll provide code... Thanks and cheers, Roman |