Lines Matching full:thread

47 .Fn kthread_resume "struct thread *td"
49 .Fn kthread_suspend "struct thread *td" "int timo"
56 .Fa "struct thread **newtdpp" "int flags" "int pages"
62 .Fa "struct proc **procptr" "struct thread **tdptr"
102 which describes the kernel thread that should be created:
107 struct thread **global_threadpp;
116 String to be used for the name of the thread.
120 .Vt "struct thread" .
122 The main function for this kernel thread to run.
125 .Vt "struct thread"
126 pointer that should be updated to point to the newly created thread's
127 .Vt thread
132 The thread will be a subthread of
139 function is used to create a kernel thread.
140 The new thread runs in kernel mode only.
149 argument specifies the function that the thread should execute.
154 when it is called by the new thread.
158 .Vt "struct thread"
159 pointer that is to be updated to point to the newly created thread.
167 to leave the thread in a stopped state.
170 to start the thread.
173 argument specifies the size of the new kernel thread's stack in pages.
177 argument list that is used to build the name of the new thread and is stored
180 member of the new thread's
181 .Vt "struct thread" .
196 It should be called by the main function of the kernel thread rather than
205 functions are used to suspend and resume a kernel thread.
206 During the main loop of its execution, a kernel thread that wishes to allow
214 kernel thread to continue.
215 The other two functions are used to notify a kernel thread of a suspend or
220 .Vt "struct thread"
221 of the kernel thread to suspend or resume.
226 argument specifies a timeout to wait for the kernel thread to acknowledge the
234 The actual suspension of the kernel thread is done with
255 static struct thread *bufdaemonthread;
291 argument does not reference a kernel thread.
299 Memory for a thread's stack could not be allocated.