Home
last modified time | relevance | path

Searched refs:kthread_create (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.5/docs/kernel/process_management/
Dkthread.md9   内核线程的创建是通过调用`kthread_create()`或者`kthread_run()`宏,向`kthreadd`守护线程发送创建任务来实现的。也就是说,内核线程的创建…
19 ### kthread_create()
23   `kthread_create(thread_fn, data, name_fmt, arg...)`
63   该宏定义是`kthread_create()`的简单封装,提供创建了内核线程后,立即运行的功能。
75   类似`kthread_run()`,该宏定义也是`kthread_create()`的简单封装,提供创建了内核实时线程后,在设置实时进程的参数后,立即运行的功能。
/DragonOS-0.1.5/kernel/src/common/
Dkthread.h36 #define kthread_create(thread_fn, data, name_fmt, arg...) … macro
49 … struct process_control_block *__kt = kthread_create(thread_fn, data, name_fmt, ##__VA_ARGS__); \
65 …struct process_control_block *__kt = kthread_create(thread_fn, data, name_fmt, ##__VA_ARGS__); …