MOS Source Code
|
#include <mos/platform/platform.h>
Go to the source code of this file.
Functions | |
void | kthread_init (void) |
thread_t * | kthread_create (thread_entry_t entry, void *arg, const char *name) |
Create a kernel-mode thread. | |
__nodiscard thread_t * | 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 29 of file kthread.c.
Referenced by mos_start_kernel().
thread_t * 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 36 of file kthread.c.
Referenced by userfs_manager_rpc_init().
__nodiscard thread_t * 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 43 of file kthread.c.
Referenced by create_idle_task(), and kthread_create().