Thank You very much.

Yes, I finally have found that, and discovered documentation for Unix poll() : http://www.scit.wlv.ac.uk/cgi-bin/mansec?2+poll

Nicu.


>Darin Fisher wrote:
Nicolae Babanu wrote:
I am diggin into SocketTransportService
skipped...
why does SocketTransportService need to call the NSPR PR_Poll() function?


nsSocketTransportService uses NSPR's PR_Poll (which amounts to a call to the poll or select system calls) to wait for any of the sockets (PRFileDesc instances) to become reading for reading, writing, etc. nsSocketTransportService allocates a single background thread on which it calls PR_Poll. This is a core part of how asynchronous socket i/o is implemented by Necko.


--Darin
_______________________________________________
Mozilla-netlib mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to