[asterisk-bugs] Channel polling design and implementation issues
Richard Braun
rbraun at proformatique.com
Wed Sep 5 10:01:36 CDT 2007
Hello.
While testing app_queue in Asterisk trunk, I traced down a bug that
prevented the caller to reach a queue member. It turned out that function
ast_waitfor_nandfds_complex(), which uses epoll_wait(), uses the epfd
descriptor of the first channel only. If I understood things correctly,
the first channel epfd is used to register other channels' pipes. This
might be a serious design issue. Anyway, ast_waitfor_n(), as called by
app_queue, only returns the caller channel. Forcing the use of
ast_waitfor_nandfds_classic() solved the issue with app_queue...
Any comments on this ?
--
Richard Braun
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.digium.com/pipermail/asterisk-bugs/attachments/20070905/0254e645/attachment.pgp
More information about the asterisk-bugs
mailing list