![]() |
MOS Source Code
|
#include <mos/platform/platform.hpp>Go to the source code of this file.
Functions | |
| void | kthread_init (void) |
| Thread * | kthread_create (thread_entry_t entry, void *arg, const char *name) |
| Create a kernel-mode thread. | |
| __nodiscard Thread * | kthread_create_no_sched (thread_entry_t entry, void *arg, const char *name) |
| Create a kernel thread, but do not add it to the scheduler. | |
Definition at line 30 of file kthread.cpp.
Referenced by mos_start_kernel().
| Thread * kthread_create | ( | thread_entry_t | entry, |
| void * | arg, | ||
| const char * | name ) |
Create a kernel-mode thread.
| entry | The entry point of the thread |
| arg | The argument to pass to the thread |
| name | The name of the thread |
Definition at line 37 of file kthread.cpp.
Referenced by userfs_manager_rpc_init().
| __nodiscard Thread * kthread_create_no_sched | ( | thread_entry_t | entry, |
| void * | arg, | ||
| const char * | name ) |
Create a kernel thread, but do not add it to the scheduler.
| entry | The entry point of the thread |
| arg | The argument to pass to the thread |
| name | The name of the thread |
Definition at line 44 of file kthread.cpp.
Referenced by create_idle_task(), and kthread_create().