MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / my_sigwait

Function my_sigwait

mysys/my_pthread.c:54–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52#if defined(HAVE_NONPOSIX_SIGWAIT) || defined(HAVE_DEC_3_2_THREADS)
53
54int my_sigwait(const sigset_t *set,int *sig)
55{
56 int signal=sigwait((sigset_t*) set);
57 if (signal < 0)
58 return errno;
59 *sig=signal;
60 return 0;
61}
62#endif
63
64/* localtime_r for SCO 3.2V4.2 */

Callers 1

signal_handFunction · 0.85

Calls 1

sigwaitFunction · 0.85

Tested by

no test coverage detected