Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ interrupt_pthread
Function
interrupt_pthread
src/bthread/interrupt_pthread.cpp:37–40 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
35
}
36
37
int interrupt_pthread(pthread_t th) {
38
pthread_once(®ister_sigurg_once, register_sigurg);
39
return pthread_kill(th, SIGURG);
40
}
41
42
} // namespace bthread
Callers
3
TEST
Function · 0.85
trigger_signal
Function · 0.85
stop_and_join
Method · 0.85
Calls
no outgoing calls
Tested by
2
TEST
Function · 0.68
trigger_signal
Function · 0.68