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

Function main

adapter/syscall/fstack.c:14–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14int
15main(int argc, char * argv[])
16{
17 int ret;
18
19 ff_init(argc, argv);
20
21 ret = ff_set_max_so_context(WORKERS);
22 if (ret < 0) {
23 return -1;
24 }
25
26 ret = ff_create_so_memzone();
27 if (ret < 0) {
28 return -1;
29 }
30
31 ERR_LOG("ff_create_so_memzone successful\n");
32
33 ff_run(loop, NULL);
34
35 return 0;
36}

Callers

nothing calls this directly

Calls 4

ff_initFunction · 0.85
ff_set_max_so_contextFunction · 0.85
ff_create_so_memzoneFunction · 0.85
ff_runFunction · 0.85

Tested by

no test coverage detected