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

Re: [libvirt] [PATCH] Add virSetBlocking() to allow O_NONBLOCK to be toggle on or off



On 03/15/2011 08:32 AM, Daniel P. Berrange wrote:
The virSetNonBlock() API only allows enabling non-blocking
operations. It doesn't allow turning blocking back on. Add
a new API to allow arbitrary toggling.

* src/libvirt_private.syms, src/util/util.h
   src/util/util.c: Add virSetBlocking
---
  src/libvirt_private.syms |    1 +
  src/util/util.c          |   13 ++++++++++---
  src/util/util.h          |    1 +
  3 files changed, 12 insertions(+), 3 deletions(-)

ACK


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