summaryrefslogtreecommitdiff
path: root/lib/thread.h
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-10-20 19:44:45 +0300
committerGitHub <noreply@github.com>2021-10-20 19:44:45 +0300
commit5db95752c063a46a6ee8cdf5e65d45c68a8de77f (patch)
tree51fc37290262fc671c053bbd88406df8782a8595 /lib/thread.h
parent16e2b641fa8d97dd315e8ff30426527bfd32bc07 (diff)
parente13f12a7d147a993a0aefd0b2b0ba947746071b4 (diff)
Merge pull request #9811 from donaldsharp/rib_update_fix
Various thread functional fixes
Diffstat (limited to 'lib/thread.h')
-rw-r--r--lib/thread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/thread.h b/lib/thread.h
index abd94ff4f0..c5f0ffbf77 100644
--- a/lib/thread.h
+++ b/lib/thread.h
@@ -273,6 +273,7 @@ extern pthread_key_t thread_current;
extern char *thread_timer_to_hhmmss(char *buf, int buf_size,
struct thread *t_timer);
+extern bool thread_is_scheduled(struct thread *thread);
/* Debug signal mask */
void debug_signals(const sigset_t *sigs);