From 6d4bf33c32e56b8355a74822629bf31be5b14656 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Mon, 11 Jan 2010 10:20:02 +0100 Subject: [PATCH] Use get_current_thread to retrieve the current thread object. --- src/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thread.c b/src/thread.c index 6381640dec4..f19cb4fc43d 100644 --- a/src/thread.c +++ b/src/thread.c @@ -238,7 +238,7 @@ run_thread (void *state) /* It might be nice to do something with errors here. */ internal_condition_case (invoke_thread_function, Qt, do_nothing); - blocal_unbind_thread (current_thread); + blocal_unbind_thread (get_current_thread ()); /* Unlink this thread from the list of all threads. */ for (iter = &all_threads; *iter != self; iter = &(*iter)->next_thread) -- 2.39.5