tech-net archive

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

Re: writev() to /dev/bpf from different sockets block



I mostly don't have anything to say on this thread.  But...

> [...]
>      if (errno == ENOBUFS) {
>        delay(750000);
> [...]

> Secondary problem: I couldn't find an effective way to handle
> ENOBUFS, other than with a 750us delay

That looks to me like 750ms, not 750us.  At least, on 9.1 delay() is
documented as taking us, not ns.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index