Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/libco
/ loop
Function
loop
example_thread.cpp:30–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
#include <unistd.h>
29
30
int loop(void *)
31
{
32
return 0;
33
}
34
static void *routine_func( void * )
35
{
36
stCoEpoll_t * ev = co_get_epoll_ct(); //ct = current thread
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected