Searched refs:forkArg (Results 1 – 3 of 3) sorted by relevance
34 struct ForkArgs *forkArg = static_cast<struct ForkArgs *>(arg); in ThreadFunc() local35 forkArg->childFunc(&forkArg->args); in ThreadFunc()36 printf("Exit thread %d %d \n", forkArg->args.type, gettid()); in ThreadFunc()37 free(forkArg); in ThreadFunc()46 if (forkArg == nullptr) { in SubInitFork()49 forkArg->childFunc = childFunc; in SubInitFork()50 forkArg->args.socket[0] = args->socket[0]; in SubInitFork()51 forkArg->args.socket[1] = args->socket[1]; in SubInitFork()52 forkArg->args.type = args->type; in SubInitFork()53 int ret = pthread_create(&g_thread, nullptr, ThreadFunc, forkArg); in SubInitFork()[all …]
149 AppSpawnForkArg *forkArg = (AppSpawnForkArg *)arg; in CloneAppSpawn() local150 ProcessExit(AppSpawnChild(forkArg->content, forkArg->client)); in CloneAppSpawn()
203 AppSpawnHookArg forkArg; in AppSpawnHookExecute() local204 forkArg.client = client; in AppSpawnHookExecute()205 forkArg.content = content; in AppSpawnHookExecute()210 int ret = HookMgrExecute(GetAppSpawnHookMgr(), stage, (void *)(&forkArg), &options); in AppSpawnHookExecute()