summaryrefslogtreecommitdiff
path: root/lib/thread.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-10-28 19:29:29 -0400
committerGitHub <noreply@github.com>2020-10-28 19:29:29 -0400
commit502dd27af98c46d20f82c43a3e2d80db53128782 (patch)
treee0076c169894210ff2836a38fb06fa0e184fbbbb /lib/thread.h
parent4220c2cc9b69d221e8a5d0f546dd64af4f588a15 (diff)
parentd81ca9a3faabe54f57b11acf87585e48d3a44480 (diff)
Merge pull request #7045 from mjstapp/fix_signals
lib: Resolve signal handling race in event loop
Diffstat (limited to 'lib/thread.h')
-rw-r--r--lib/thread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/thread.h b/lib/thread.h
index e2b7763c51..682a17b9f3 100644
--- a/lib/thread.h
+++ b/lib/thread.h
@@ -230,6 +230,9 @@ extern pthread_key_t thread_current;
extern char *thread_timer_to_hhmmss(char *buf, int buf_size,
struct thread *t_timer);
+/* Debug signal mask */
+void debug_signals(const sigset_t *sigs);
+
#ifdef __cplusplus
}
#endif