Home
last modified time | relevance | path

Searched refs:forkArg (Results 1 - 3 of 3) sorted by relevance

/base/startup/init/test/unittest/modules/
H A Dcontext_unittest.cpp34 struct ForkArgs *forkArg = static_cast<struct ForkArgs *>(arg); in ThreadFunc() local
35 forkArg->childFunc(&forkArg->args); in ThreadFunc()
36 printf("Exit thread %d %d \n", forkArg->args.type, gettid()); in ThreadFunc()
37 free(forkArg); in ThreadFunc()
45 struct ForkArgs *forkArg = static_cast<struct ForkArgs *>(malloc(sizeof(struct ForkArgs))); in SubInitFork() local
46 if (forkArg == nullptr) { in SubInitFork()
49 forkArg->childFunc = childFunc; in SubInitFork()
50 forkArg->args.socket[0] = args->socket[0]; in SubInitFork()
51 forkArg in SubInitFork()
[all...]
/base/startup/appspawn/common/
H A Dappspawn_server.c147 AppSpawnForkArg *forkArg = (AppSpawnForkArg *)arg; in CloneAppSpawn() local
148 ProcessExit(AppSpawnChild(forkArg->content, forkArg->client)); in CloneAppSpawn()
/base/startup/appspawn/modules/modulemgr/
H A Dappspawn_modulemgr.c203 AppSpawnHookArg forkArg; in AppSpawnHookExecute() local
204 forkArg.client = client; in AppSpawnHookExecute()
205 forkArg.content = content; in AppSpawnHookExecute()
210 int ret = HookMgrExecute(GetAppSpawnHookMgr(), stage, (void *)(&forkArg), &options); in AppSpawnHookExecute()

Completed in 2 milliseconds