context.h
Include dependency graph for context.h:
This graph shows which files directly or indirectly include context.h:
Defines
-
MAX_REG
Typedefs
-
typedef enum NativeHandlerResult NativeHandlerResult
-
typedef NativeHandlerResult (*native_handler_f)(Context *ctx)
Enums
-
enum NativeHandlerResult
Values:
-
enumerator NativeTerminate
-
enumerator NativeContinue
-
enumerator NativeTerminate
-
enum ContextFlags
Values:
-
enumerator NoFlags
-
enumerator WaitingTimeout
-
enumerator WaitingTimeoutExpired
-
enumerator Running
-
enumerator Ready
-
enumerator Killed
-
enumerator Trap
-
enumerator NoFlags
Functions
-
Context *context_new(GlobalContext *glb)
-
void context_destroy(Context *c)
-
static inline bool context_is_term_equal_to_atom_string(Context *ctx, term atom_a, AtomString atom_string_b)
-
size_t context_message_queue_len(Context *ctx)
-
size_t context_size(Context *ctx)
-
void context_process_kill_signal(Context *ctx, struct TermSignal *signal)
-
void context_process_process_info_request_signal(Context *ctx, struct BuiltInAtomRequestSignal *signal)
-
bool context_process_signal_trap_answer(Context *ctx, struct TermSignal *signal)
-
void context_process_flush_monitor_signal(Context *ctx, uint64_t ref_ticks, bool info)
-
struct ResourceMonitor *context_resource_monitor(Context *ctx, void *resource)
-
struct Context
Collaboration diagram for Context:
Public Members
-
GlobalContext *global
-
Heap heap
-
term *e
-
term x[MAX_REG]
-
struct ListHead processes_list_head
-
struct ListHead processes_table_head
-
int32_t process_id
-
struct TimerListItem timer_list_head
-
struct ListHead monitors_head
-
avm_float_t *fr
-
size_t min_heap_size
-
size_t max_heap_size
-
enum HeapGrowthStrategy heap_growth_strategy
-
unsigned long cp
-
Module *saved_module
-
const void *saved_ip
-
void *restore_trap_handler
-
Mailbox mailbox
-
struct ListHead dictionary
-
native_handler_f native_handler
-
uint64_t reductions
-
unsigned int leader
-
unsigned int has_min_heap_size
-
unsigned int has_max_heap_size
-
bool trap_exit
- enum ContextFlags ATOMIC flags
-
void *platform_data
-
term group_leader
-
term bs
-
size_t bs_offset
-
term exit_reason
-
GlobalContext *global
-
struct Monitor
Collaboration diagram for Monitor:
-
struct ResourceMonitor
Collaboration diagram for ResourceMonitor: