Re: glusterd crashes when synctask is used in conjunction with inner functions.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/08/2012 02:14 PM, Krishnan Parthasarathi wrote:
>> 	int
>> 	real_inner_function (void *outer_frame, int arg)
>> 	{
>> 		/* Same as user's function but with extra arg. */
>> 	}
>>
>> 	int
>> 	inner_function (int arg)
>> 	{
>> 		real_inner_function(COMPILE_TIME_CONSTANT,arg);
> 
> Shouldn't the outer frame's address be RUNTIME_CONSTANT? 
> 
>> 	}

For dynamic code generation (even the degenerate sort that's involved in
creating thunks and trampolines), compile time is run time.  ;)





[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux