summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore/ecore_thread.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-08-27 06:55:33 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-08-27 06:55:33 +0000
commitdd7d35b1f76cb2ef5a5e174a11b718123191fef7 (patch)
tree5fcfc09ca9e84fbf05a3795e18261b2881afb2b3 /legacy/ecore/src/lib/ecore/ecore_thread.c
parentb20f37ef58ed295e8898551abd51a68fa96c206f (diff)
ecore: remove printf
SVN revision: 75721
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_thread.c17
1 files changed, 5 insertions, 12 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore_thread.c b/legacy/ecore/src/lib/ecore/ecore_thread.c
index d2499487a2..87688ed3f3 100644
--- a/legacy/ecore/src/lib/ecore/ecore_thread.c
+++ b/legacy/ecore/src/lib/ecore/ecore_thread.c
@@ -80,14 +80,11 @@ _ecore_thread_win32_self()
80 80
81 LKL(_ecore_thread_win32_lock); 81 LKL(_ecore_thread_win32_lock);
82 EINA_LIST_FOREACH(_ecore_thread_win32_threads, l, t) 82 EINA_LIST_FOREACH(_ecore_thread_win32_threads, l, t)
83 { 83 if (t->thread == GetCurrentThread())
84 printf("thread self : %p %p\n", t, t->thread); 84 {
85 if (t->thread == GetCurrentThread()) 85 LKU(_ecore_thread_win32_lock);
86 { 86 return t;
87 LKU(_ecore_thread_win32_lock); 87 }
88 return t;
89 }
90 }
91 88
92 LKU(_ecore_thread_win32_lock); 89 LKU(_ecore_thread_win32_lock);
93 return NULL; 90 return NULL;
@@ -118,8 +115,6 @@ _ecore_thread_win32_create(win32_thread **x,
118 *x = t; 115 *x = t;
119 _ecore_thread_win32_threads = eina_list_append(_ecore_thread_win32_threads, t); 116 _ecore_thread_win32_threads = eina_list_append(_ecore_thread_win32_threads, t);
120 LKU(_ecore_thread_win32_lock); 117 LKU(_ecore_thread_win32_lock);
121 printf(" * thread create 1: %p\n", t);
122 printf(" * thread create 2: %p\n", t->thread);
123 118
124 return 0; 119 return 0;
125} 120}
@@ -130,10 +125,8 @@ static int
130_ecore_thread_win32_join(win32_thread *x, 125_ecore_thread_win32_join(win32_thread *x,
131 void **res) 126 void **res)
132{ 127{
133 printf(" * thread join 1 : %p\n", x);
134 if (!PHE(x, PHS())) 128 if (!PHE(x, PHS()))
135 { 129 {
136 printf(" * thread join 2 : %p\n", x->thread);
137 WaitForSingleObject(x->thread, INFINITE); 130 WaitForSingleObject(x->thread, INFINITE);
138 CloseHandle(x->thread); 131 CloseHandle(x->thread);
139 } 132 }