evas: Set thread name for preload

This can be useful during debugging.
This commit is contained in:
Jean-Philippe Andre 2017-03-07 19:42:20 +09:00
parent 566b23dcb8
commit 9dcf2d3965
2 changed files with 3 additions and 1 deletions

View File

@ -341,6 +341,8 @@ _evas_cache_image_async_heavy(void *data)
int error;
int pchannel;
eina_thread_name_set(eina_thread_self(), "Evas-preload");
current = data;
SLKL(current->lock);

View File

@ -631,7 +631,7 @@ struct _Image_Entry
Evas_Cache_Target *targets;
Evas_Preload_Pthread *preload;
Eina_List *tasks;
Eina_List *tasks; // FIXME: Tasks are not used: always NULL func
Image_Timestamp tstamp;