MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / testwork

Function testwork

thread/test/test.cpp:1359–1365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1357}
1358
1359void* testwork(void*) {
1360 recursive_call();
1361 // there are 4MB stack used;
1362 stack_pages_gc();
1363 EXPECT_STRNE("Hello, stack", topbuf);
1364 return nullptr;
1365}
1366
1367#if !defined(__aarch64__) && defined(__linux__)
1368TEST(photon, free_stack) {

Callers

nothing calls this directly

Calls 2

recursive_callFunction · 0.85
stack_pages_gcFunction · 0.85

Tested by

no test coverage detected