forked from enlightenment/efl
make it easier to debug if it was enabled, and how :-)
minor style fixes. SVN revision: 49100
This commit is contained in:
parent
3b47f08dcb
commit
446b0040a4
|
@ -868,11 +868,9 @@ evas_common_frameq_begin()
|
|||
pthread_attr_t attr;
|
||||
cpu_set_t cpu;
|
||||
|
||||
int set_cpu_affinity=1;
|
||||
|
||||
if (!gframeq.initialised)
|
||||
{
|
||||
int cpunum;
|
||||
int cpunum, set_cpu_affinity;
|
||||
|
||||
cpunum = eina_cpu_count();
|
||||
gframeq.thread_num = cpunum;
|
||||
|
@ -923,6 +921,10 @@ evas_common_frameq_begin()
|
|||
pthread_detach(gframeq.thinfo[i].thread_id);
|
||||
}
|
||||
gframeq.initialised = 1; // now worker threads are created.
|
||||
|
||||
INF("initialised");
|
||||
DBG("%d cpus, set_cpu_affinity=%d, frameq_sz=%d",
|
||||
cpunum, set_cpu_affinity, gframeq.frameq_sz);
|
||||
}
|
||||
#endif /* BUILD_PTHREAD */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue