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

Function ff_switch_curthread

lib/ff_compat.c:124–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122
123
124inline void *
125ff_switch_curthread(void *new_curthread)
126{
127 void *old_curthread = pcurthread;
128 if (new_curthread != NULL) {
129 pcurthread = new_curthread;
130 }
131
132 return old_curthread;
133}
134
135inline void
136ff_restore_curthread(void *old_curthread)

Callers 1

ff_handle_socket_opsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected