MCPcopy Create free account
hub / github.com/F-Stack/f-stack / huge_wrap_sigsetjmp

Function huge_wrap_sigsetjmp

dpdk/lib/eal/linux/eal_memalloc.c:111–114  ·  view source on GitHub ↗

Put setjmp into a wrap method to avoid compiling error. Any non-volatile, * non-static local variable in the stack frame calling sigsetjmp might be * clobbered by a call to longjmp. */

Source from the content-addressed store, hash-verified

109 * clobbered by a call to longjmp.
110 */
111static int huge_wrap_sigsetjmp(void)
112{
113 return sigsetjmp(huge_jmpenv, 1);
114}
115
116static struct sigaction huge_action_old;
117static int huge_need_recover;

Callers 1

alloc_segFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected