[Asterisk-Dev] Common thread for medium-latency, low processing time I/O?

Simon Richter Simon.Richter at eyepy.de
Tue Dec 7 03:28:09 MST 2004


Hi,

I wonder whether it would make sense to collect all the I/O stuff that 
is not necessarily time critical, needs only little processing and 
happens seldom in a common execution thread (possibly the main thread)?

I am currently writing three modules, each of them has a few sockets 
with about one packet sent/received per minute (one even receives two 
packets a day in a common setup), and running a separate process for 
these seems like overkill to me.

Would it make sense to be able to register io contexts and have them 
watched by the main thread?

Comments?

    Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 375 bytes
Desc: OpenPGP digital signature
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20041207/2d9440f4/signature.pgp


More information about the asterisk-dev mailing list