MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / SetSignalMask

Function SetSignalMask

FEXCore/Source/Utils/Threads.cpp:39–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39uint64_t SetSignalMask(uint64_t Mask) {
40#ifndef _WIN32
41 ::syscall(SYS_rt_sigprocmask, SIG_SETMASK, &Mask, &Mask, 8);
42 return Mask;
43#else
44 return 0;
45#endif
46}
47
48void SetThreadName(const char* name) {
49#ifndef _WIN32

Callers 1

StartThreadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected