globalcontext.c
Include dependency graph for globalcontext.c:
Defines
-
SMP_SPINLOCK_LOCK(spinlock)
-
SMP_SPINLOCK_UNLOCK(spinlock)
-
SMP_MUTEX_LOCK(mutex)
-
SMP_MUTEX_UNLOCK(mutex)
-
SMP_RWLOCK_RDLOCK(lock)
-
SMP_RWLOCK_WRLOCK(lock)
-
SMP_RWLOCK_UNLOCK(lock)
Functions
-
GlobalContext *globalcontext_new()
- COLD_FUNC void globalcontext_destroy (GlobalContext *glb)
-
Context *globalcontext_get_process_nolock(GlobalContext *glb, int32_t process_id)
-
Context *globalcontext_get_process_lock(GlobalContext *glb, int32_t process_id)
-
void globalcontext_get_process_unlock(GlobalContext *glb, Context *c)
-
bool globalcontext_process_exists(GlobalContext *glb, int32_t process_id)
-
void globalcontext_send_message(GlobalContext *glb, int32_t process_id, term t)
-
void globalcontext_send_message_nolock(GlobalContext *glb, int32_t process_id, term t)
-
void globalcontext_init_process(GlobalContext *glb, Context *ctx)
-
bool globalcontext_register_process(GlobalContext *glb, int atom_index, int local_process_id)
-
bool globalcontext_unregister_process(GlobalContext *glb, int atom_index)
-
void globalcontext_maybe_unregister_process_id(GlobalContext *glb, int target_process_id)
-
int globalcontext_get_registered_process(GlobalContext *glb, int atom_index)
-
int globalcontext_insert_atom(GlobalContext *glb, AtomString atom_string)
-
int globalcontext_insert_atom_maybe_copy(GlobalContext *glb, AtomString atom_string, int copy)
-
bool globalcontext_is_atom_index_equal_to_atom_string(GlobalContext *glb, int atom_index_a, AtomString atom_string_b)
-
AtomString globalcontext_atomstring_from_term(GlobalContext *glb, term t)
-
term globalcontext_existing_term_from_atom_string(GlobalContext *glb, AtomString atom_string)
-
int globalcontext_insert_module(GlobalContext *global, Module *module)
-
Module *globalcontext_get_module(GlobalContext *global, AtomString module_name_atom)
-
Module *globalcontext_get_module_by_index(GlobalContext *global, int index)
-
bool globalcontext_demonitor(GlobalContext *global, uint64_t ref_ticks)
-
struct RegisteredProcess
Collaboration diagram for RegisteredProcess: