MOS Source Code
Loading...
Searching...
No Matches
Process and thread management
+ Collaboration diagram for Process and thread management:

Topics

 kernel.tasks.signal
 Signal handling.
 

Classes

struct  process_signal_info_t
 
struct  fd_type
 
struct  process_t
 
struct  thread_signal_info_t
 
struct  thread_t
 

Macros

#define nullfd   ((fd_type){ .io = NULL, .flags = 0 })
 

Typedefs

typedef struct _thread thread_t
 
typedef struct _process process_t
 

Enumerations

enum  thread_mode { THREAD_MODE_KERNEL , THREAD_MODE_USER }
 

Variables

slab_tprocess_cache
 
slab_tthread_cache
 

Detailed Description

Macro Definition Documentation

◆ nullfd

#define nullfd   ((fd_type){ .io = NULL, .flags = 0 })

Definition at line 40 of file task_types.h.

Referenced by process_detach_fd(), and process_exit().

Typedef Documentation

◆ thread_t

typedef struct _thread thread_t

Definition at line 36 of file platform.h.

◆ process_t

typedef struct _process process_t

Definition at line 26 of file task_types.h.

Enumeration Type Documentation

◆ thread_mode

Enumerator
THREAD_MODE_KERNEL 
THREAD_MODE_USER 

Definition at line 19 of file task_types.h.

Variable Documentation

◆ process_cache

slab_t* process_cache
extern

Definition at line 22 of file tasks.c.

Referenced by process_allocate().

◆ thread_cache

slab_t * thread_cache

Definition at line 94 of file task_types.h.

Referenced by thread_allocate().