]> git.puffer.fish Git - mirror/frr.git/commit
lib: Add a thread_is_scheduled function
authorDonald Sharp <sharpd@nvidia.com>
Tue, 12 Oct 2021 17:22:54 +0000 (13:22 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 20 Oct 2021 12:28:52 +0000 (08:28 -0400)
commita505383d6a42259b96f5882b493f328bc1dd9301
tree7665fb3db4209db1b02a7f94fcfc56e03cdd235e
parent52e458d922157f21d97ae2ee40938db560ddba6b
lib: Add a thread_is_scheduled function

The function thread_is_scheduled allows us to know if
the particular thread is scheduled for execution or not.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
lib/thread.c
lib/thread.h