[Gluster-devel] glusterd crashes when synctask is used in conjunction with inner functions.

Jeff Darcy jdarcy at redhat.com
Mon Oct 8 18:26:29 UTC 2012


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.  ;)






More information about the Gluster-devel mailing list