forked from enlightenment/efl
removed a false #ifndef _WIN32
This commit is contained in:
parent
da4b9ec858
commit
ac9e9cbce8
|
@ -80,11 +80,8 @@ _sysmon(void *data EINA_UNUSED, Eina_Thread thr EINA_UNUSED)
|
|||
for (i = 0; i < _eina_debug_thread_active_num; i++)
|
||||
{
|
||||
// get the correct clock id to use for the target thread
|
||||
#ifndef _WIN32
|
||||
pthread_getcpuclockid(self, &cid);
|
||||
#endif
|
||||
// pthread_getcpuclockid
|
||||
(_eina_debug_thread_active[i].thread, &cid);
|
||||
pthread_getcpuclockid(self, &cid);
|
||||
(_eina_debug_thread_active[i].thread, &cid);
|
||||
// get the clock cpu time accumulation for that threas
|
||||
clock_gettime(cid, &t);
|
||||
_eina_debug_thread_active[i].clok = t;
|
||||
|
|
Loading…
Reference in New Issue