On Sun, Jan 15, 2012 at 2:15 AM, Youness Alaoui
<[email protected]> wrote:
> Hi,
>
> I've just updated my EFL build for the PS3 and it was broken. eina_init
> isn't working anymore because eina_value doesn't init itself correctly. The
> issue is that if it's unable to iitialize a lock, it will fail the init
> which fails eina_init (and ecore_init, etc..)
> The problem is that on the PS3, there is no pthread library so threads are
> disabled on eina and eina_lock uses eina_inline_lock_void.x which just
> returns FALSE/FAIL for every API call. This also causes another issue with
> evas which slows it down because it tries a eina_lock_take_try (which
> fails) and forces it to wait a bit before doing anything then it spams my
> terminal with warnings about not being able to get a lock.
> I would suggest to change the behavior of eina_lock (on 'void' platforms,
> which do not support locks) to always return TRUE/SUCCEED so it doesn't
> break everything below it.
>
> What do you think ?

it would make sense, but another option is #ifdef it in eina value...
stringshare also uses it, but lazyness was there and it did not check
for errors. I do in eina_value.

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [email protected]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to