On Sun, 15 May 2011 06:41:47 +0200 (CEST) Vincent Torri <[email protected]>
said:
looks like someone committed already :)
>
> is the patch below good ?
>
> Vincent
>
> Index: src/lib/cache/evas_cache_image.c
> ===================================================================
> --- src/lib/cache/evas_cache_image.c (revision 59392)
> +++ src/lib/cache/evas_cache_image.c (working copy)
> @@ -557,12 +557,14 @@
> {
> Evas_Cache_Image *cache;
>
> +#ifdef BUILD_ASYNC_PRELOAD
> if (_evas_cache_mutex_init++ == 0)
> {
> LKI(engine_lock);
> LKI(wakeup);
> eina_condition_new(&cond_wakeup, &wakeup);
> }
> +#endif
>
> cache = calloc(1, sizeof(Evas_Cache_Image));
> if (!cache) return NULL;
> @@ -657,12 +659,14 @@
> eina_hash_free(cache->inactiv);
> free(cache);
>
> +#ifdef BUILD_ASYNC_PRELOAD
> if (--_evas_cache_mutex_init == 0)
> {
> eina_condition_free(&cond_wakeup);
> LKD(engine_lock);
> LKD(wakeup);
> }
> +#endif
> }
>
> EAPI Image_Entry *
>
>
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler) [email protected]
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel