From: Vincent T. <vt...@un...> - 2011-04-18 06:15:27
|
On Mon, 18 Apr 2011, Mike McCormack wrote: > 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. as the EFL are not thread safe, it's not a big issue Vincent > > 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 > enl...@li... > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > |