MCPcopy Create free account
hub / github.com/dmtcp/dmtcp / Thread_SaveSigState

Function Thread_SaveSigState

src/threadlist.cpp:876–884  ·  view source on GitHub ↗

* * Save signal mask and list of pending signals delivery * *****************************************************************************/

Source from the content-addressed store, hash-verified

874 *
875 *****************************************************************************/
876void
877Thread_SaveSigState(Thread *th)
878{
879 // Save signal block mask
880 JASSERT(pthread_sigmask(SIG_SETMASK, NULL, &th->sigblockmask) == 0);
881
882 // Save pending signals
883 sigpending(&th->sigpending);
884}
885
886/*****************************************************************************
887 *

Callers 2

checkpointhreadFunction · 0.85
stopthisthreadFunction · 0.85

Calls 1

pthread_sigmaskFunction · 0.85

Tested by

no test coverage detected