diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2020-01-02 22:13:59 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2020-01-02 22:13:59 +0000 |
commit | 478ca4b004a09b7f0cea986469ff794ccb4a1292 (patch) | |
tree | 134e12397dcdfc8de3d5f3f43bf61a03de38039f /sys/sys/proc.h | |
parent | 8f4d74eb1e8e331b2ed881e0f629ebd65aa39dcc (diff) | |
download | src-478ca4b004a09b7f0cea986469ff794ccb4a1292.tar.gz src-478ca4b004a09b7f0cea986469ff794ccb4a1292.zip |
Rename umtxq_check_susp() to thread_check_susp()
and make it usable outside of kern_umtx.c. To be used in several
future changes.
Discussed with: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=356293
Diffstat (limited to 'sys/sys/proc.h')
-rw-r--r-- | sys/sys/proc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 69a998bf83a4..64605b174733 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -1144,6 +1144,7 @@ void cpu_thread_swapin(struct thread *); void cpu_thread_swapout(struct thread *); struct thread *thread_alloc(int pages); int thread_alloc_stack(struct thread *, int pages); +int thread_check_susp(struct thread *td, bool sleep); void thread_cow_get_proc(struct thread *newtd, struct proc *p); void thread_cow_get(struct thread *newtd, struct thread *td); void thread_cow_free(struct thread *td); |