MCPcopy Create free account
hub / github.com/coreutils/coreutils / cs_enter

Function cs_enter

src/sort.c:696–701  ·  view source on GitHub ↗

Enter a critical section. */

Source from the content-addressed store, hash-verified

694
695/* Enter a critical section. */
696static void
697cs_enter (struct cs_status *status)
698{
699 int ret = pthread_sigmask (SIG_BLOCK, &caught_signals, &status->sigs);
700 status->valid = ret == 0;
701}
702
703/* Leave a critical section. */
704static void

Callers 4

exit_cleanupFunction · 0.85
create_temp_fileFunction · 0.85
pipe_childFunction · 0.85
zaptempFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected