]> xenbits.xensource.com Git - xen.git/commit
libxl: event tests: Introduce `fdderegrace' test
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 9 Jul 2015 16:24:25 +0000 (17:24 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 15 Jul 2015 10:40:44 +0000 (11:40 +0100)
commitc544fd79f7cc58f01ef83bb16d710b7acdee4b8c
tree4448ccd9db11407b1e62c7651ebcf64f63813b52
parent75420396df1516e4c06fdb61462e510256b57e3f
libxl: event tests: Introduce `fdderegrace' test

This exercises the potential race between fd deregistration and
poll().  (Because we have control of the individual steps, we can do
the whole test in a single thread and ensure that the pessimal order
is always reached.)

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
.gitignore
tools/libxl/Makefile
tools/libxl/test_fdderegrace.c [new file with mode: 0644]