summaryrefslogtreecommitdiff
path: root/src/lib/ecore/ecore_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore/ecore_thread.c')
-rw-r--r--src/lib/ecore/ecore_thread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ecore/ecore_thread.c b/src/lib/ecore/ecore_thread.c
index 05ab26cdea..f38c7880c1 100644
--- a/src/lib/ecore/ecore_thread.c
+++ b/src/lib/ecore/ecore_thread.c
@@ -40,6 +40,7 @@
40# define PHE(x, y) eina_thread_equal(x, y) 40# define PHE(x, y) eina_thread_equal(x, y)
41# define PHS() eina_thread_self() 41# define PHS() eina_thread_self()
42# define PHC(x, f, d) eina_thread_create(&(x), EINA_THREAD_BACKGROUND, -1, (void *)f, d) 42# define PHC(x, f, d) eina_thread_create(&(x), EINA_THREAD_BACKGROUND, -1, (void *)f, d)
43# define PHC2(x, f, d)eina_thread_create(&(x), EINA_THREAD_URGENT, -1, (void *)f, d)
43# define PHJ(x) eina_thread_join(x) 44# define PHJ(x) eina_thread_join(x)
44 45
45typedef struct _Ecore_Pthread_Worker Ecore_Pthread_Worker; 46typedef struct _Ecore_Pthread_Worker Ecore_Pthread_Worker;
@@ -953,7 +954,7 @@ ecore_thread_feedback_run(Ecore_Thread_Cb func_heavy,
953 eina_threads_init(); 954 eina_threads_init();
954 955
955retry_direct: 956retry_direct:
956 if (PHC(t, _ecore_direct_worker, worker)) 957 if (PHC2(t, _ecore_direct_worker, worker))
957 { 958 {
958 SLKL(_ecore_pending_job_threads_mutex); 959 SLKL(_ecore_pending_job_threads_mutex);
959 _ecore_thread_count_no_queue++; 960 _ecore_thread_count_no_queue++;