aboutsummaryrefslogtreecommitdiff
path: root/samples/null.c
diff options
context:
space:
mode:
authorBen Walker <benjamin.walker@intel.com>2020-06-29 13:54:20 -0700
committerThanos <tmakatos@gmail.com>2020-07-08 09:34:27 +0100
commitc12f7e283c80ead6689c70b53f0a5e35b2996912 (patch)
tree0ac078cedcc3259de18af6925b21a3d5ea6fd88e /samples/null.c
parent54971cc2df0d5a6d30599318425e3fc9f5e1a321 (diff)
downloadlibvfio-user-c12f7e283c80ead6689c70b53f0a5e35b2996912.zip
libvfio-user-c12f7e283c80ead6689c70b53f0a5e35b2996912.tar.gz
libvfio-user-c12f7e283c80ead6689c70b53f0a5e35b2996912.tar.bz2
Add lm_ctx_poll() as an alternative to lm_ctx_drive()
Using lm_ctx_poll() simply polls for work and returns instead of blocking. It is only valid when used on an lm_ctx created with LM_FLAG_ATTACH_NB. Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Diffstat (limited to 'samples/null.c')
0 files changed, 0 insertions, 0 deletions