Re: [PATCH 1/1] [QPOLICY]: Ignore packets with specific priority

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



| What about using select() call to get the effect of waiting? I think that 
| select() is precisely designed for such a thing. It is generally used on 
| reading from sockets so it could be used on writing to sockets as well. I 
| haven't looked at the code yet to know how complicated it might be to 
| implement but it seems to be a nice idea to consider.
| 
I think select() will give us similar problems - it is this very old BSD socket
interface. 

To me Posix asynchronous I/O seems to be a highly promising idea here, since it is
possible to submit a packet and then have the kernel call you back to confirm
that it has been dispatched.

I don't know the full state of AIO, it recently popped up in a configuration
menu,  http://lse.sourceforge.net/io/aio.html
--
To unsubscribe from this list: send the line "unsubscribe dccp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [IETF DCCP]     [Linux Networking]     [Git]     [Security]     [Linux Assembly]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux