On Thu, Jan 27, 2011 at 1:14 AM, Christiano F. Haesbaert <haesba...@haesbaert.org> wrote: > > The sender/client is pretty stupid, it sends as much as possible until a > ENOBUFS > is reached, then it sleeps for 50ms, I'm not sure this is acceptable, we don't > have sched_yield(2) which would do the work so I chose this random value, > please > correct me. >
fwiw, we do have sched_yield(2). it's the only syscall from <sched.h> that is actually implemented atm.