diff options
Diffstat (limited to 'libvxi11client/client.c')
-rw-r--r-- | libvxi11client/client.c | 4 |
1 files changed, 3 insertions, 1 deletions
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"); |