From 48577c89c567a0d9f6efc88dc03fb94258b17fd5 Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 10 Jan 2013 21:47:42 +0900 Subject: more filling out on the server side --- libvxi11client/client.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libvxi11client/client.c') diff --git a/libvxi11client/client.c b/libvxi11client/client.c index 816d2f3..04753a8 100644 --- a/libvxi11client/client.c +++ b/libvxi11client/client.c @@ -128,10 +128,12 @@ int main(int argc, char *argv[]) { printf("error unlocking; %s\n", geterrorstring(err)); printf("\n"); - // create interrupt channel + // Interrupt channel tests printf("-- Testing interrupt channel --\n"); + // create interrupt channel if ((err = vxi11_create_intr_chan()) > 0) { printf("Created interrupt channel\n"); + sleep(10); // destroy interrupt channel if ((err = vxi11_destroy_intr_chan()) > 0) printf("Destroyed interrupt channel\n"); -- cgit