Async I/O support attempt for Chromium
Mike Houston <[email protected]>
| Newsgroups | gmane.comp.graphics.chromium.devel |
|---|---|
| Message-ID | <[email protected]> |
I think I can get the SDP layer kicked over to Asynchronous I/O (AIO), but I only know how to do this for Linux. Does anyone out there know how to get documentation on AIO for other Unix systems? In theory, this should also work for tcp and allow a cleaner way to handle non-blocking i/o without resulting to threads. Setting the sockets to O_NONBLOCK doesn't seem to help as the sockets run out of buffer space quickly and revert back to blocking. e.g. write returns E_WOULDBLOCK. Once I can get crserver to stop segfaulting, I can continue to work on this in my spare time. -Mike ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com