On 04/17/2011 03:44 PM, Tom Hacohen wrote:
> If it's needed/important, we can possibly add
> "ecore_exe_pause_<with_return_value>" or something like that :P

That would be nicer than an "errno" style thing.  Global error values have
re-entrancy and thread-safety issues.  In libc it's thread local.

EFL returns void in way too many places for my liking.  It would be a good thing
to return an error codes in 2.0, or add extra calls in 1.0 as per Tom's 
suggestion.

Last time this was brought up, Raster said that void is returned to simplify
and avoid error handling code.  Having the information available doesn't
mean you have to write error handling code... it just means you can.

thanks,

Mike

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to