1. Add a common bind virq function
2. Reduce the stub code of `bind_dom_exc_virq`
Signed-off-by: Yang Qian
---
tools/ocaml/libs/eventchn/xeneventchn.ml | 19 ++-
tools/ocaml/libs/eventchn/xeneventchn.mli | 21 +
tools/ocaml/libs/eventchn
Functions related with event channel are parallelizable, so release global
lock before invoking C function which will finally call block syscalls.
Signed-off-by: Yang Qian
---
tools/ocaml/libs/eventchn/xeneventchn_stubs.c | 30 +--
1 file changed, 28 insertions(+), 2