From c3422b087c5940763f957593d5017f9cb5da1c14 Mon Sep 17 00:00:00 2001 From: perry.werneck@gmail.com Date: Fri, 2 May 2014 20:23:52 +0000 Subject: [PATCH] Removendo chamadas que não são mais usadas --- iocallback.c | 24 ------------------------ 1 file changed, 0 insertions(+), 24 deletions(-) diff --git a/iocallback.c b/iocallback.c index 97e8d87..454f58a 100644 --- a/iocallback.c +++ b/iocallback.c @@ -265,30 +265,6 @@ gpointer BgCall(struct bgParameter *p) return 0; } -/* -static int static_CallAndWait(int(*callback)(H3270 *session, void *), H3270 *session, void *parm) -{ - struct bgParameter p = { TRUE, session, -1, callback, parm }; - GThread *thread; - -// trace("Starting auxiliary thread for callback %p",callback); - - p.running = TRUE; - thread = g_thread_create( (GThreadFunc) BgCall, &p, 0, NULL); - - if(!thread) - { - g_error("Can't start background thread"); - return -1; - } - - while(p.running) - gtk_main_iteration(); - - return p.rc; -} -*/ - static int static_Sleep(H3270 *hSession, int seconds) { time_t end = time(0) + seconds; -- libgit2 0.21.2