summaryrefslogtreecommitdiff
path: root/libvxi11client/libvxi11client.c
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2013-01-19 03:34:20 +0900
committerdaniel <danieruru@gmail.com>2013-01-19 03:34:20 +0900
commit63f018d9d0a4b1ae11f9adb6f5bd3c9315b00130 (patch)
treec67ff839cddc6ff082e6fc4d8716286c8ab15672 /libvxi11client/libvxi11client.c
parentd5bd5c44706dffd9977f1cbf9dd6ca4860bbb37d (diff)
Add another debug message to confirm the port is actually set by the other thread
Diffstat (limited to 'libvxi11client/libvxi11client.c')
-rw-r--r--libvxi11client/libvxi11client.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libvxi11client/libvxi11client.c b/libvxi11client/libvxi11client.c
index 3233cf0..2c6f3a8 100644
--- a/libvxi11client/libvxi11client.c
+++ b/libvxi11client/libvxi11client.c
@@ -440,7 +440,7 @@ int vxi11_start_interrupt_server(void (*callback)(char* handle)) {
return 0;
#ifdef DEBUG
- printf("Waiting for interrupt server to start\n");
+ printf("Waiting for interrupt thread to start\n");
#endif
g_cond_wait(cond, mutex);
g_mutex_unlock(mutex);
@@ -449,6 +449,10 @@ int vxi11_start_interrupt_server(void (*callback)(char* handle)) {
cond = NULL;
mutex = NULL;
+#ifdef DEBUG
+ printf("Interrupt thread started, port is %d\n", interruptserverport);
+#endif
+
if (interruptserverport == -1)
return 0;