Commit c3422b087c5940763f957593d5017f9cb5da1c14
1 parent
313f40af
Exists in
master
and in
1 other branch
Removendo chamadas que não são mais usadas
Showing
1 changed file
with
0 additions
and
24 deletions
Show diff stats
iocallback.c
@@ -265,30 +265,6 @@ gpointer BgCall(struct bgParameter *p) | @@ -265,30 +265,6 @@ gpointer BgCall(struct bgParameter *p) | ||
265 | return 0; | 265 | return 0; |
266 | } | 266 | } |
267 | 267 | ||
268 | -/* | ||
269 | -static int static_CallAndWait(int(*callback)(H3270 *session, void *), H3270 *session, void *parm) | ||
270 | -{ | ||
271 | - struct bgParameter p = { TRUE, session, -1, callback, parm }; | ||
272 | - GThread *thread; | ||
273 | - | ||
274 | -// trace("Starting auxiliary thread for callback %p",callback); | ||
275 | - | ||
276 | - p.running = TRUE; | ||
277 | - thread = g_thread_create( (GThreadFunc) BgCall, &p, 0, NULL); | ||
278 | - | ||
279 | - if(!thread) | ||
280 | - { | ||
281 | - g_error("Can't start background thread"); | ||
282 | - return -1; | ||
283 | - } | ||
284 | - | ||
285 | - while(p.running) | ||
286 | - gtk_main_iteration(); | ||
287 | - | ||
288 | - return p.rc; | ||
289 | -} | ||
290 | -*/ | ||
291 | - | ||
292 | static int static_Sleep(H3270 *hSession, int seconds) | 268 | static int static_Sleep(H3270 *hSession, int seconds) |
293 | { | 269 | { |
294 | time_t end = time(0) + seconds; | 270 | time_t end = time(0) + seconds; |